> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XStoreShowGiftingUIResult

> XStoreShowGiftingUIResult

# XStoreShowGiftingUIResult

Obtient les résultats d'un appel à [XStoreShowGiftingUIAsync](/fr/reference/system/xstore/functions/xstoreshowgiftinguiasync).

## Syntaxe

```cpp theme={null}
HRESULT XStoreShowGiftingUIResult(  
         XAsyncBlock* async  
)  
```

### Paramètres

*async*   \_Inout\_\
Type : [XAsyncBlock\*](/fr/reference/system/xasync/structs/xasyncblock)

XAsyncBlock qui a été transmis à [XStoreShowGiftingUIAsync](/fr/reference/system/xstore/functions/xstoreshowgiftinguiasync). Le [XAsyncBlock](/fr/reference/system/xasync/structs/xasyncblock) peut être utilisé pour interroger l'état de l'appel et récupérer ses résultats. Pour plus d'informations, consultez [XAsyncBlock](/fr/reference/system/xasync/structs/xasyncblock).

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

S\_OK indique que l'offre du cadeau a été effectuée.

E\_ABORT indique que l'utilisateur a annulé le processus d'offre de cadeau.

## Remarques

Cette fonction de résultat vous permet de récupérer les résultats de l'exécution de [XStoreShowGiftingUIAsync](/fr/reference/system/xstore/functions/xstoreshowgiftinguiasync). Par conséquent, cette fonction doit être appelée après l'appel à [XStoreShowGiftingUIAsync](/fr/reference/system/xstore/functions/xstoreshowgiftinguiasync), généralement dans le contexte d'une fonction de rappel. Cette fonction peut être particulièrement utile pour déterminer pourquoi l'interface utilisateur ne s'est pas affichée en cas d'échec.

Pour un exemple d'utilisation, consultez [XStoreShowGiftingUIAsync](/fr/reference/system/xstore/functions/xstoreshowgiftinguiasync).

## Configuration requise

**En-tête :** XStore.h (inclus dans XGameRuntime.h)

**Bibliothèque :** xgameruntime.lib

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

[XStore](/fr/reference/system/xstore/xstore_members)\
[XStoreShowGiftingUIAsync](/fr/reference/system/xstore/functions/xstoreshowgiftinguiasync)


## Related topics

- [XStoreShowGiftingUIResult](/reference/system/xstore/functions/xstoreshowgiftinguiresult.md)
- [XStoreShowGiftingUIAsync](/es/reference/system/xstore/functions/xstoreshowgiftinguiasync.md)
