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

# XGameUiShowStateShareResult

> XGameUiShowStateShareResult

# XGameUiShowStateShareResult

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

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

## Syntax

```cpp theme={null}
HRESULT XGameUiShowStateShareResult(
  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 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](/reference/system/xgameui/xgameui_members)


## Related topics

- [XGameUI](/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowStateShareAsync](/reference/system/xgameui/functions/xgameuishowstateshareasync.md)
- [XGameUiShowAchievementsResult](/reference/system/xgameui/functions/xgameuishowachievementsresult.md)
- [XGameUiShowWebAuthenticationResult](/reference/system/xgameui/functions/xgameuishowwebauthenticationresult.md)
- [XGameUiShowTextEntryResult](/reference/system/xgameui/functions/xgameuishowtextentryresult.md)
