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

# XGameUiShowStateShareResult

> XGameUiShowStateShareResult

*Note that this method is a preview in the June 2024 GDK.*

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

## Syntax

```cpp theme={null}
HRESULT XGameUiShowStateShareResult(
  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 indicate an invalid user was passed in or that the provided parameters did not refer to an accessible state.

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

- [XGameUI (API contents)](https://docs.xbox.com/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowStateShareAsync](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowstateshareasync.md)
- [XGameUiShowAchievementsResult](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowachievementsresult.md)
- [XGameUiShowWebAuthenticationResult](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowwebauthenticationresult.md)
- [XGameUiShowPlayerPickerResult](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowplayerpickerresult.md)
