> ## 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

Obtiene los resultados de una llamada a [XStoreShowGiftingUIAsync](/reference/system/xstore/functions/xstoreshowgiftinguiasync).

## Sintaxis

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

### Parámetros

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

El XAsyncBlock que se pasó a [XStoreShowGiftingUIAsync](/reference/system/xstore/functions/xstoreshowgiftinguiasync). El [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) se puede usar para sondear el estado de la llamada y recuperar los resultados de la llamada. Consulte [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) para obtener más información.

### Valor devuelto

Tipo: HRESULT

Código HRESULT de éxito o de error.

S\_OK indica que el regalo se completó.

E\_ABORT indica que el usuario canceló el flujo de regalo.

## Comentarios

Esta función de resultado permite recuperar los resultados de ejecución de [XStoreShowGiftingUIAsync](/reference/system/xstore/functions/xstoreshowgiftinguiasync). Por lo tanto, se debe llamar a esta función después de haber llamado a [XStoreShowGiftingUIAsync](/reference/system/xstore/functions/xstoreshowgiftinguiasync), normalmente en el contexto de una función de devolución de llamada. Esta función puede ser especialmente útil para averiguar por qué no se mostró la interfaz de usuario en casos de error.

Consulte [XStoreShowGiftingUIAsync](/reference/system/xstore/functions/xstoreshowgiftinguiasync) para ver un ejemplo de uso.

## Requisitos

**Encabezado:** XStore.h (incluido en XGameRuntime.h)

**Biblioteca:** xgameruntime.lib

**Plataformas compatibles:** Windows, consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

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


## Related topics

- [XStoreShowGiftingUIAsync](/es/reference/system/xstore/functions/xstoreshowgiftinguiasync.md)
- [XStore](/es/reference/system/xstore/xstore_members.md)
- [XStoreShowPurchaseUIResult](/es/reference/system/xstore/functions/xstoreshowpurchaseuiresult.md)
- [XStoreShowRedeemTokenUIResult](/es/reference/system/xstore/functions/xstoreshowredeemtokenuiresult.md)
- [XStoreShowAssociatedProductsUIResult](/es/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult.md)
