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

# XGameUiShowPlayerPickerResultCount

> XGameUiShowPlayerPickerResultCount

# XGameUiShowPlayerPickerResultCount

[XGameUiShowPlayerPickerAsync](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerasync.md) 호출의 결과 개수를 가져옵니다.

## 구문

```cpp theme={null}
HRESULT XGameUiShowPlayerPickerResultCount(  
         XAsyncBlock* async,  
         uint32_t* resultPlayersCount  
)  
```

### 매개 변수

*async*   \_In\_\
형식: [XAsyncBlock\*](https://docs.xbox.com/ko/reference/system/xasync/structs/xasyncblock.md)

[XGameUiShowPlayerPickerAsync](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerasync.md)에 전달된 [XAsyncBlock](https://docs.xbox.com/ko/reference/system/xasync/structs/xasyncblock.md)에 대한 포인터입니다.

*resultPlayersCount*   \_Out\_\
형식: uint32\_t\*

결과 개수입니다.

### 반환 값

형식: HRESULT

HRESULT 성공 또는 오류 코드입니다.

## 설명

일반적으로 이 함수는 [XGameUiShowPlayerPickerAsync의](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerasync.md) **XAsyncBlock**에서 호출됩니다. 이 함수를 통해 목록에 반환된 플레이어 수를 검색할 수 있습니다. 실제 플레이어 목록을 얻으려면 [XGameUiShowPlayerPickerResult](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerresult.md)를 호출해야 합니다.\
비동기 함수가 완료된 후 언제든지 이 함수를 호출하여 함수 결과를 검색할 수도 있습니다.

## 요구 사항

**헤더:** XGameUI.h

**라이브러리:** xgameruntime.lib

**지원 플랫폼:** Windows, Steam Deck, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 함께 보기

[XGameUI](https://docs.xbox.com/ko/reference/system/xgameui/xgameui_members.md)\
[XGameUiShowPlayerPickerAsync](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerasync.md)\
[XGameUiShowPlayerPickerResult](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerresult.md)


## Related topics

- [XGameUiShowPlayerPickerResult](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerresult.md)
- [XGameUiShowPlayerPickerAsync](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerasync.md)
- [XGameUiSetPlayerPickerUiResponse](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuisetplayerpickeruiresponse.md)
- [XGameUI (API 콘텐츠)](https://docs.xbox.com/ko/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowPlayerPickerUiCallback](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickeruicallback.md)
