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

# XStoreShowRedeemTokenUIResult

> XStoreShowRedeemTokenUIResult

# XStoreShowRedeemTokenUIResult

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

## Sintaxe

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

### Parâmetros

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

O XAsyncBlock passado para [XStoreShowRedeemTokenUIAsync](/pt-BR/reference/system/xstore/functions/xstoreshowredeemtokenuiasync). O [XAsyncBlock](/pt-BR/reference/system/xasync/structs/xasyncblock) pode ser usado para sondar o status da chamada e recuperar os resultados da chamada. Consulte [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.

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

## Comentários

Esta função de resultado permite recuperar os resultados da execução de [XStoreShowRedeemTokenUIAsync](/pt-BR/reference/system/xstore/functions/xstoreshowredeemtokenuiasync). Dessa forma, esta função deve ser chamada depois que [XStoreShowRedeemTokenUIAsync](/pt-BR/reference/system/xstore/functions/xstoreshowredeemtokenuiasync) 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 exibida em casos de falha.

Consulte [XStoreShowRedeemTokenUIAsync](/pt-BR/reference/system/xstore/functions/xstoreshowredeemtokenuiasync) para ver um exemplo de uso.

## Requisitos

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

**Biblioteca:** xgameruntime.lib

**Plataformas compatíveis:** Windows, consoles da família XBOX One e consoles XBOX Series

## Confira também

[XStore](/pt-BR/reference/system/xstore/xstore_members)\
[XStoreShowRedeemTokenUIAsync](/pt-BR/reference/system/xstore/functions/xstoreshowredeemtokenuiasync)


## Related topics

- [XStoreShowRedeemTokenUIResult](/reference/system/xstore/functions/xstoreshowredeemtokenuiresult.md)
- [XStoreShowRedeemTokenUIAsync](/reference/system/xstore/functions/xstoreshowredeemtokenuiasync.md)
- [XStore](/reference/system/xstore/xstore_members.md)
- [Unity C# API wrappers for the GDK](/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [面向 GDK 的 Unity C# API 包装器](/zh-CN/build/gdk-and-engines/unity/unity-api-wrappers.md)
