> ## 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-CN/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md) 的调用结果。

## 语法

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

### 参数

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

指向传递给 [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/zh-CN/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md) 的 [XAsyncBlock](https://docs.xbox.com/zh-CN/reference/system/xasync/structs/xasyncblock.md) 对象的指针。

### 返回值

类型：HRESULT

HRESULT 成功或错误代码。

## 备注

通常，你在 [XAsyncBlock](https://docs.xbox.com/zh-CN/reference/system/xasync/structs/xasyncblock.md) 中指定此函数作为 [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/zh-CN/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md) 的回调函数。

你也可以在 `XGameUiShowPlayerProfileCardAsync` 完成后调用此函数来检索结果。

## 要求

**标头：** XGameUI.h

**库：** xgameruntime.lib

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

## 另请参阅

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


## Related topics

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