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

# XGameUiShowPlayerProfileCardAsync

> XGameUiShowPlayerProfileCardAsync

# XGameUiShowPlayerProfileCardAsync

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

## 構文

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

### パラメーター

*async*   \_In\_<br />Type: [XAsyncBlock\*](/reference/system/xasync/structs/xasyncblock)

[XAsyncRun](/reference/system/xasync/functions/xasyncrun) に渡される [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) へのポインター。

*requestingUser*   \_In\_<br />Type: XUserHandle

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

*targetPlayer*   \_In\_<br />Type: uint64\_t

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

### 戻り値

Type: HRESULT

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

## 解説

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

## 要件

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

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

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

## 関連項目

[XGameUI](/reference/system/xgameui/xgameui_members)<br />[XGameUIShowPlayerProfileCardResult](/reference/system/xgameui/functions/xgameuishowplayerprofilecardresult)<br />[XBOX ゲーム ライフ サイクル (NDA トピック)](/build/console-features/console-workflows/xbox-game-life-cycle)


## Related topics

- [XGameUiShowPlayerProfileCardResult](/ja-jp/reference/system/xgameui/functions/xgameuishowplayerprofilecardresult.md)
- [XGameUiShowPlayerProfileCardUiCallback](/ja-jp/reference/system/xgameui/functions/xgameuishowplayerprofilecarduicallback.md)
- [XGameUiSetPlayerProfileCardUiResponse](/ja-jp/reference/system/xgameui/functions/xgameuisetplayerprofilecarduiresponse.md)
- [XR-047 ユーザー プロファイル アクセス](/ja-jp/publishing/certification/xr/xr-047.md)
- [XGameUiUiCallbacks](/ja-jp/reference/system/xgameui/structs/xgameuiuicallbacks.md)
