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

# XGameUiShowSendGameInviteResult

> XGameUiShowSendGameInviteResult

# XGameUiShowSendGameInviteResult

Obtém o resultado de uma chamada para [XGameUIShowSendGameInviteAsync](/pt-BR/reference/system/xgameui/functions/xgameuishowsendgameinviteasync).

<a id="syntaxSection" />

## Sintaxe

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

<a id="parametersSection" />

### Parâmetros

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

Um ponteiro para o objeto [XAsyncBlock](/pt-BR/reference/system/xasync/structs/xasyncblock) que foi passado para [XGameUIShowSendGameInviteAsync](/pt-BR/reference/system/xgameui/functions/xgameuishowsendgameinviteasync).

<a id="retvalSection" />

### Valor retornado

Tipo: HRESULT

Código de êxito ou de erro HRESULT.

<a id="remarksSection" />

## Comentários

Normalmente, você especifica esta função em [XAsyncBlock](/pt-BR/reference/system/xasync/structs/xasyncblock) como a função de retorno de chamada para [XGameUIShowSendGameInviteAsync](/pt-BR/reference/system/xgameui/functions/xgameuishowsendgameinviteasync).

Você também pode recuperar o resultado chamando esta função após a conclusão de `XGameUIShowSendGameInviteAsync`.

<a id="requirementsSection" />

## Requisitos

**Cabeçalho:** XGameUI.h

**Biblioteca:** xgameruntime.lib

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

<a id="seealsoSection" />

## Documentação conceitual

* [Metas de design e aprimoramentos da programação assíncrona](/pt-BR/build/core-features/common/async/async-whitepaper)

## Confira também

[XGameUI](/pt-BR/reference/system/xgameui/xgameui_members)


## Related topics

- [XGameUiShowSendGameInviteAsync](/pt-BR/reference/system/xgameui/functions/xgameuishowsendgameinviteasync.md)
- [Metas de design e melhorias da programação assíncrona](/pt-BR/build/core-features/common/async/async-whitepaper.md)
- [XGameUI](/pt-BR/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowSendGameInviteUiCallback](/pt-BR/reference/system/xgameui/functions/xgameuishowsendgameinviteuicallback.md)
- [XGameUiSetSendGameInviteUiResponse](/pt-BR/reference/system/xgameui/functions/xgameuisetsendgameinviteuiresponse.md)
