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

# XGameUiShowPlayerProfileCardResult

> XGameUiShowPlayerProfileCardResult

# XGameUiShowPlayerProfileCardResult

取得 [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/zh-TW/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md) 呼叫的結果。

## 語法

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

### 參數

*async*   \_In\_\
類型：[XAsyncBlock](https://docs.xbox.com/zh-TW/reference/system/xasync/structs/xasyncblock.md)\*

指向傳遞給 [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/zh-TW/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md) 之 [XAsyncBlock](https://docs.xbox.com/zh-TW/reference/system/xasync/structs/xasyncblock.md) 物件的指標。

### 傳回值

類型：HRESULT

HRESULT 成功或錯誤碼。

## 備註

通常，您會在 [XAsyncBlock](https://docs.xbox.com/zh-TW/reference/system/xasync/structs/xasyncblock.md) 中將此函式指定為 [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/zh-TW/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md) 的回呼函式。

您也可以在 `XGameUiShowPlayerProfileCardAsync` 完成之後呼叫此函式來擷取結果。

## 需求

**標頭：** XGameUI.h

**程式庫：** xgameruntime.lib

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

## 另請參閱

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


## Related topics

- [XGameUI (API 內容)](https://docs.xbox.com/zh-TW/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/zh-TW/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md)
- [XGameUiShowPlayerProfileCardUiCallback](https://docs.xbox.com/zh-TW/reference/system/xgameui/functions/xgameuishowplayerprofilecarduicallback.md)
- [XGameUiSetPlayerProfileCardUiResponse](https://docs.xbox.com/zh-TW/reference/system/xgameui/functions/xgameuisetplayerprofilecarduiresponse.md)
- [XGameUiShowPlayerPickerResult](https://docs.xbox.com/zh-TW/reference/system/xgameui/functions/xgameuishowplayerpickerresult.md)
