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

# XGameUiShowPlayerProfileCardAsync

> XGameUiShowPlayerProfileCardAsync

# XGameUiShowPlayerProfileCardAsync

指定されたプレイヤーのプロファイル カードの UI を表示します。

## 構文

```cpp theme={null}
HRESULT XGameUiShowPlayerProfileCardAsync(  
         XAsyncBlock* async,  
         XUserHandle requestingUser,  
         uint64_t targetPlayer  
)  
```

### パラメーター

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

[XAsyncRun](https://docs.xbox.com/ja-jp/reference/system/xasync/functions/xasyncrun.md) に渡される [XAsyncBlock](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md) へのポインター。

*requestingUser*   \_In\_\
Type: XUserHandle

プロファイル カードを要求しているプレイヤーの ID。

*targetPlayer*   \_In\_\
Type: uint64\_t

プロファイル カードを表示する対象のプレイヤーの ID。

### 戻り値

Type: HRESULT

非同期呼び出しの HRESULT 成功またはエラー コード。

## 解説

UI を呼び出すと、ゲームは *制約付きモード* に入ります。制約付きモードでは、呼び出された UI のバックグラウンドにある間、タイトルが受け取るシステム リソースが少なくなります。制約付きモードやタイトルのその他の運用モードの詳細については、「[XBOX ゲーム ライフ サイクル (NDA トピック)](https://docs.xbox.com/ja-jp/build/console-features/console-workflows/xbox-game-life-cycle.md)」を参照してください。

## 要件

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

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

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

## 関連項目

[XGameUI](https://docs.xbox.com/ja-jp/reference/system/xgameui/xgameui_members.md)\
[XGameUIShowPlayerProfileCardResult](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowplayerprofilecardresult.md)\
[XBOX ゲーム ライフ サイクル (NDA トピック)](https://docs.xbox.com/ja-jp/build/console-features/console-workflows/xbox-game-life-cycle.md)


## Related topics

- [XGameUiShowPlayerProfileCardResult](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowplayerprofilecardresult.md)
- [XGameUiShowPlayerProfileCardUiCallback](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuishowplayerprofilecarduicallback.md)
- [XGameUiSetPlayerProfileCardUiResponse](https://docs.xbox.com/ja-jp/reference/system/xgameui/functions/xgameuisetplayerprofilecarduiresponse.md)
- [XGameUiUiCallbacks](https://docs.xbox.com/ja-jp/reference/system/xgameui/structs/xgameuiuicallbacks.md)
- [XGameUI (API の内容)](https://docs.xbox.com/ja-jp/reference/system/xgameui/xgameui_members.md)
