> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFLobbyGetCustomContext

> PlayFab Multiplayer C++ SDK에서 로비 핸들에 이전에 연결된 앱 정의 포인터 컨텍스트를 읽기 위한 PFLobbyGetCustomContext 참조입니다.

이 로비 개체와 이전에 연결된 앱의 사적이며 사용자 지정된 포인터 크기의 컨텍스트 값을 검색합니다.

## 구문

```cpp theme={null}
HRESULT PFLobbyGetCustomContext(  
    PFLobbyHandle lobby,  
    void** customContext  
)  
```

### 매개 변수

**`lobby`**   PFLobbyHandle

로비의 핸들입니다.

**`customContext`**   void\*\*\
*출력, nullptr을 반환할 수 있음*

출력 사용자 지정 컨텍스트입니다.

### 반환 값

형식: HRESULT

사용자 지정 컨텍스트를 검색하는 데 성공한 경우 `S_OK`이고, 그렇지 않으면 오류 코드입니다. 오류 코드의 사람이 읽을 수 있는 형태는 [PFMultiplayerGetErrorMessage()](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmultiplayer/functions/pfmultiplayergeterrormessage)를 통해 검색할 수 있습니다.

## 설명

아직 사용자 지정 컨텍스트가 설정되지 않은 경우 `customContext`가 가리키는 값은 nullptr로 설정됩니다.

## 요구 사항

**헤더:** PFLobby.h

## 참고 항목

[PFLobby 멤버](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members)\
[PFLobbySetCustomContext](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbysetcustomcontext)


## Related topics

- [PFLobbySetCustomContext](/ko/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbysetcustomcontext.md)
- [PFMultiplayer C/C++ API 개요 - PFLobby.h](/ko/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)
- [PFMatchmakingTicketGetCustomContext](/ko/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketgetcustomcontext.md)
- [PartyEndpoint::GetCustomContext](/ko/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getcustomcontext.md)
- [PartyNetwork::GetCustomContext](/ko/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_getcustomcontext.md)
