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

# PFMatchmakingTicketGetCustomContext

> 설정자 함수를 통해 PlayFab Multiplayer 매치메이킹 티켓과 이전에 연결된 앱의 프라이빗 포인터 크기의 사용자 지정 컨텍스트 값을 검색합니다.

이 티켓 개체에 이전에 연결된 앱의 프라이빗, 사용자 지정 포인터 크기의 컨텍스트 값을 검색합니다.

## 구문

```cpp theme={null}
HRESULT PFMatchmakingTicketGetCustomContext(  
    PFMatchmakingTicketHandle ticket,  
    void** customContext  
)  
```

### 매개 변수

**`ticket`**   PFMatchmakingTicketHandle

매치메이킹 티켓의 핸들입니다.

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

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

### 반환 값

형식: HRESULT

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

## 설명

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

## 요구 사항

**헤더:** PFMatchmaking.h

## 함께 보기

[PFMatchmaking members](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members)\
[PFMatchmakingTicketSetCustomContext](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketsetcustomcontext)


## Related topics

- [PFMatchmakingTicketSetCustomContext](/ko/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketsetcustomcontext.md)
- [PlayFab Multiplayer C++ SDK 릴리스 정보](/ko/services/playfab/multiplayer/lobby/lobby-matchmaking-sdks/lobby-and-matchmaking-release-notes.md)
- [PFMultiplayer C/C++ API 개요 - PFMatchmaking.h](/ko/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members.md)
- [XblMatchmakingGetMatchTicketDetailsAsync](/ko/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsasync.md)
- [PFMatchmakingTicketGetTicketId](/ko/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketgetticketid.md)
