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

# XStoreShowGiftingUIResult

> XStoreShowGiftingUIResult

# XStoreShowGiftingUIResult

Obtém os resultados de uma chamada para [XStoreShowGiftingUIAsync](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoreshowgiftinguiasync.md).

## Sintaxe

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

### Parâmetros

*async*   \_Inout\_\
Tipo: [XAsyncBlock\*](https://docs.xbox.com/pt-BR/reference/system/xasync/structs/xasyncblock.md)

O XAsyncBlock que foi passado para [XStoreShowGiftingUIAsync](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoreshowgiftinguiasync.md). O [XAsyncBlock](https://docs.xbox.com/pt-BR/reference/system/xasync/structs/xasyncblock.md) pode ser usado para sondar o status da chamada e recuperar os resultados da chamada. Confira [XAsyncBlock](https://docs.xbox.com/pt-BR/reference/system/xasync/structs/xasyncblock.md) para obter mais informações.

### Valor retornado

Tipo: HRESULT

Código de êxito ou de erro HRESULT.

S\_OK indica que o presente foi concluído.

E\_ABORT indica que o usuário cancelou o fluxo de presente.

## Comentários

Esta função de resultado permite recuperar os resultados da execução de [XStoreShowGiftingUIAsync](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoreshowgiftinguiasync.md). Assim, esta função deve ser chamada depois que [XStoreShowGiftingUIAsync](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoreshowgiftinguiasync.md) tiver sido chamada, geralmente no contexto de uma função de retorno de chamada. Esta função pode ser particularmente útil para descobrir por que a interface do usuário não foi mostrada em casos de falha.

Confira [XStoreShowGiftingUIAsync](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoreshowgiftinguiasync.md) para obter um exemplo de uso.

## Requisitos

**Cabeçalho:** XStore.h (incluído em XGameRuntime.h)

**Biblioteca:** xgameruntime.lib

**Plataformas com suporte:** Windows, consoles da família XBOX One e consoles XBOX Series

## Confira também

[XStore](https://docs.xbox.com/pt-BR/reference/system/xstore/xstore_members.md)\
[XStoreShowGiftingUIAsync](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoreshowgiftinguiasync.md)


## Related topics

- [XStoreShowGiftingUIAsync](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoreshowgiftinguiasync.md)
- [XStore (conteúdo da API)](https://docs.xbox.com/pt-BR/reference/system/xstore/xstore_members.md)
- [XStoreShowPurchaseUIResult](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoreshowpurchaseuiresult.md)
- [XStoreShowAssociatedProductsUIResult](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult.md)
- [XStoreShowProductPageUIResult](https://docs.xbox.com/pt-BR/reference/system/xstore/functions/xstoreshowproductpageuiresult.md)
