XGameUiShowPlayerPickerResultCount
Gets the count of results from a XGameUiShowPlayerPickerAsync call.Syntax
Parameters
async _In_Type: XAsyncBlock* A pointer to the XAsyncBlock that was passed to XGameUiShowPlayerPickerAsync. resultPlayersCount _Out_
Type: uint32_t* The count of results.
Return value
Type: HRESULT HRESULT success or error code.Remarks
Typically this function is to be called in XGameUiShowPlayerPickerAsync’s XAsyncBlock. This function will allow you to retrieve the number of players returned to the list. To get the actual list of players you will need to call XGameUiShowPlayerPickerResult.You may also call this function anytime after the async function completes in order to retrieve the function result.
Requirements
Header: XGameUI.h Library: xgameruntime.lib Supported platforms: Windows, Steam Deck, XBOX One family consoles and XBOX Series consolesSee also
XGameUIXGameUiShowPlayerPickerAsync
XGameUiShowPlayerPickerResult
