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

*請注意，此方法在 2024 年 6 月 GDK 中為預覽版。*

取得 [XGameUiShowStateShareAsync](/zh-TW/reference/system/xgameui/functions/xgameuishowstateshareasync) 呼叫的結果。

## 語法

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

### 參數

*async*   \_In\_\
類型：XAsyncBlock \*

指向傳遞給 [XAsyncRun](/zh-TW/reference/system/xasync/functions/xasyncrun) 之 [XAsyncBlock](/zh-TW/reference/system/xasync/structs/xasyncblock) 的指標。

## 備註

失敗通常只會在開發期間發生，且通常表示傳入了無效的使用者，或提供的參數並未參考可存取的狀態。

## 需求

**標頭：** XGameUI.h

**程式庫：** xgameruntime.lib

**支援的平台：** Windows、Steam Deck、XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[XGameUI 成員](/zh-TW/reference/system/xgameui/xgameui_members)


## Related topics

- [XGameUiShowStateShareResult](/reference/system/xgameui/functions/xgameuishowstateshareresult.md)
- [XGameUI](/reference/system/xgameui/xgameui_members.md)
