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

# XGameUiShowPlayerPickerResult

> XGameUiShowPlayerPickerResult

# XGameUiShowPlayerPickerResult

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

## 구문

```cpp theme={null}
HRESULT XGameUiShowPlayerPickerResult(  
         XAsyncBlock* async,  
         uint32_t resultPlayersCount,  
         uint64_t* resultPlayers,  
         uint32_t* resultPlayersUsed  
)  
```

### 매개 변수

*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*   \_In\_\
형식: uint32\_t

플레이어 결과의 개수이며, 결과를 포함하는 버퍼 크기를 결정하는 데 사용됩니다. [XGameUiShowPlayerPickerResultCount](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerresultcount.md)를 호출하여 이 정보를 얻을 수 있습니다. 또는 큰 결과 버퍼를 미리 할당했다면, 해당 버퍼가 포함할 수 있는 최대 uint64\_t 필드 수와 동일한 숫자를 전달할 수 있습니다.

*resultPlayers*   \_Out\_writes\_to\_(resultPlayersCount,*resultPlayersUsed)\
형식: uint64\_t*

플레이어 선택기 UI에서 선택된 플레이어의 ID 목록에 대한 포인터입니다.

*resultPlayersUsed*   \_Out\_opt\_\
형식: uint32\_t\*

플레이어 선택기 UI에서 선택된 플레이어 수입니다.

### 반환 값

형식: HRESULT

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

## 설명

일반적으로 이 함수는 [XGameUiShowPlayerPickerAsync의](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerasync.md) **XAsyncBlock**에서 호출됩니다. 이 함수를 통해 요청된 플레이어 목록을 검색할 수 있습니다. [XGameUiShowPlayerPickerResultCount](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerresultcount.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)\
[XGameUiShowPlayerPickerResultCount](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerresultcount.md)


## Related topics

- [XGameUiShowPlayerPickerResultCount](https://docs.xbox.com/ko/reference/system/xgameui/functions/xgameuishowplayerpickerresultcount.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)
