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

# XGameUiShowAchievementsResult

> XGameUiShowAchievementsResult

# XGameUiShowAchievementsResult

[XGameUiShowAchievementsAsync](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowachievementsasync.md) の呼び出し結果を取得します。

## 構文

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

### パラメーター

*async*   \_In\_\
Type: [XAsyncBlock](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md)\*

[XGameUiShowAchievementsAsync](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowachievementsasync.md) に渡された [XAsyncBlock](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md) オブジェクトへのポインター。

### 戻り値

Type: HRESULT

HRESULT 成功またはエラー コード。

## 解説

通常、この関数は [XGameUiShowAchievementsAsync](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowachievementsasync.md) のコールバック関数として [XAsyncBlock](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md) で指定します。

`XGameUiShowAchievementsAsync` の完了後にこの関数を呼び出して結果を取得することもできます。

## 要件

**ヘッダー:** XGameUI.h

**ライブラリ:** xgameruntime.lib

**サポートされているプラットフォーム:** Windows、Steam Deck、XBOX One ファミリー本体および XBOX Series 本体

## 関連項目

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


## Related topics

- [XGameUiShowAchievementsAsync](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowachievementsasync.md)
- [XGameUI (API の内容)](https://docs.xbox.com/ja-jp/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowAchievementsUiCallback](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowachievementsuicallback.md)
- [XGameUiShowPlayerPickerResult](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowplayerpickerresult.md)
- [XGameUiShowErrorDialogResult](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowerrordialogresult.md)
