XGameUiShowPlayerPickerResultCount
获取 XGameUiShowPlayerPickerAsync 调用的结果计数。语法
参数
async _In_类型:XAsyncBlock* 指向传递给 XGameUiShowPlayerPickerAsync 的 XAsyncBlock 的指针。 resultPlayersCount _Out_
类型:uint32_t* 结果计数。
返回值
类型:HRESULT HRESULT 成功或错误代码。备注
通常,此函数应在 XGameUiShowPlayerPickerAsync 的 XAsyncBlock 中调用。此函数允许你检索返回到列表中的玩家数量。要获取实际的玩家列表,你需要调用 XGameUiShowPlayerPickerResult。你也可以在异步函数完成后随时调用此函数以检索函数结果。
要求
标头: XGameUI.h 库: xgameruntime.lib 支持的平台: Windows、Steam Deck、XBOX One 系列主机和 XBOX Series 主机另请参阅
XGameUIXGameUiShowPlayerPickerAsync
XGameUiShowPlayerPickerResult
