> ## 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-CA/reference/system/xstore/functions/xstoreshowgiftinguiasync).

## Syntaxe

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

### Paramètres

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

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

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

S\_OK indique que le cadeau a été effectué.

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

## Remarques

Cette fonction de résultat vous permet de récupérer les résultats de l'exécution de [XStoreShowGiftingUIAsync](/fr-CA/reference/system/xstore/functions/xstoreshowgiftinguiasync). Par conséquent, cette fonction doit être appelée après l'appel de [XStoreShowGiftingUIAsync](/fr-CA/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 n'a pas été affichée en cas d'échec.

Pour un exemple d'utilisation, consultez [XStoreShowGiftingUIAsync](/fr-CA/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-CA/reference/system/xstore/xstore_members)\
[XStoreShowGiftingUIAsync](/fr-CA/reference/system/xstore/functions/xstoreshowgiftinguiasync)


## Related topics

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