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

# XGameUiShowPlayerPickerUiCallback

> XGameUiShowPlayerPickerUiCallback

# XGameUiShowPlayerPickerUiCallback

XGameUiShowPlayerPickerAsync 回调的签名。

## 语法

```cpp theme={null}
void CALLBACK XGameUiShowPlayerPickerUiCallback(
 XGameUiCallbackHandle callbackHandle,
 XTaskQueueHandle queue,
 XGameUiPlayerPickerInfo* info,
 void* context
);
```

### 参数

*callbackHandle*\
类型：XGameUiCallbackHandle

此回调调用的句柄。

*queue*\
类型：XTaskQueueHandle

执行 UI 回调所在的任务队列的句柄。

*info*\
类型：XGameUiPlayerPickerInfo\*

封装由玩家选取器 UI 使用的数据的结构。

*context*\
类型：void\*

指向开发人员提供的上下文的指针。

## 要求

**标头：** XGameUi.h

**支持的平台：** 仅在 Steam Deck 上受支持

## 另请参阅

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


## Related topics

- [XGameUiPlayerPickerInfo](https://docs.xbox.com/zh-CN/reference/system/xgameui/structs/xgameuiplayerpickerinfo.md)
- [XGameUiUiCallbacks](https://docs.xbox.com/zh-CN/reference/system/xgameui/structs/xgameuiuicallbacks.md)
- [XGameUiSetPlayerPickerUiResponse](https://docs.xbox.com/zh-CN/reference/system/xgameui/functions/xgameuisetplayerpickeruiresponse.md)
- [XGameUiShowPlayerPickerAsync](https://docs.xbox.com/zh-CN/reference/system/xgameui/functions/xgameuishowplayerpickerasync.md)
- [XGameUiShowPlayerPickerResult](https://docs.xbox.com/zh-CN/reference/system/xgameui/functions/xgameuishowplayerpickerresult.md)
