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

# XGameUiShowMultiplayerActivityGameInviteResult

> XGameUiShowMultiplayerActivityGameInviteResult

Gets the results from a [XGameUiShowMultiplayerActivityGameInviteAsync](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowmultiplayeractivitygameinviteasync.md) call.

## Syntax

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

### Parameters

*async*   \_In\_\
Type: XAsyncBlock \*

A pointer to the [XAsyncBlock](https://docs.xbox.com/reference/system/xasync/structs/xasyncblock.md) that is passed to [XAsyncRun](https://docs.xbox.com/reference/system/xasync/functions/xasyncrun.md).

## Remarks

Failures will likely will only happen during development and usually indicates an invalid user was passed in or that there is no multiplayer activity set.

## Requirements

**Header:** XGameUI.h

**Library:** xgameruntime.lib

**Supported platforms:** Windows, Steam Deck, XBOX One family consoles and XBOX Series consoles

## See also

[XGameUI members](https://docs.xbox.com/reference/system/xgameui/xgameui_members.md)


## Related topics

- [Example code for Multiplayer Activity](https://docs.xbox.com/services/xbox-services/multiplayer/mpa/how-to/live-mpa-client-how-to.md)
- [Moving from MPSD to PlayFab Multiplayer and MPA](https://docs.xbox.com/services/xbox-services/multiplayer/mpsd/concepts/live-mpsd-to-mlp.md)
- [XGameUI (API contents)](https://docs.xbox.com/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowMultiplayerActivityGameInviteUiCallback](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowmultiplayeractivitygameinviteuicallback.md)
- [XGameUiShowMultiplayerActivityGameInviteAsync](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowmultiplayeractivitygameinviteasync.md)
