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

# XGameUiShowMultiplayerActivityGameInviteResult

> XGameUiShowMultiplayerActivityGameInviteResult

# XGameUiShowMultiplayerActivityGameInviteResult

Gets the results from a [XGameUiShowMultiplayerActivityGameInviteAsync](/reference/system/xgameui/functions/xgameuishowmultiplayeractivitygameinviteasync) call.

## Syntax

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

### Parameters

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

A pointer to the [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) that is passed to [XAsyncRun](/reference/system/xasync/functions/xasyncrun).

## 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](/reference/system/xgameui/xgameui_members)


## Related topics

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