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

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

## Sintaxe

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

### Parâmetros

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

O XAsyncBlock que foi passado para [XStoreShowGiftingUIAsync](/pt-BR/reference/system/xstore/functions/xstoreshowgiftinguiasync). O [XAsyncBlock](/pt-BR/reference/system/xasync/structs/xasyncblock) pode ser usado para sondar o status da chamada e recuperar os resultados da chamada. Confira [XAsyncBlock](/pt-BR/reference/system/xasync/structs/xasyncblock) 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](/pt-BR/reference/system/xstore/functions/xstoreshowgiftinguiasync). Assim, esta função deve ser chamada depois que [XStoreShowGiftingUIAsync](/pt-BR/reference/system/xstore/functions/xstoreshowgiftinguiasync) 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](/pt-BR/reference/system/xstore/functions/xstoreshowgiftinguiasync) 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](/pt-BR/reference/system/xstore/xstore_members)\
[XStoreShowGiftingUIAsync](/pt-BR/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)
