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

# PFMatchmakingTicketSetCustomContext

> 나중에 애플리케이션에서 검색할 수 있도록 PlayFab Multiplayer 매치메이킹 티켓에 선택적인 포인터 크기의 사용자 지정 컨텍스트 값을 연결합니다.

이 티켓 개체에 선택적인 사용자 지정 포인터 크기의 컨텍스트 값을 구성합니다.

## 구문

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

### 매개 변수

**`ticket`**   PFMatchmakingTicketHandle

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

**`customContext`**   void\*\
*선택 사항*

플레이어 개체와 함께 저장할 임의의 포인터 크기의 값입니다.

### 반환 값

형식: HRESULT

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

## 설명

사용자 지정 컨텍스트는 일반적으로 매핑 조회 없이 매치메이킹 티켓과 연결된 로컬, 타이틀별 메모리에 대한 액세스를 단순화하는 "바로 가기"로 사용됩니다. 이 값은 [PFMatchmakingTicketGetCustomContext()](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketgetcustomcontext) 메서드를 사용하여 검색합니다. <br /><br /> 구성된 모든 값은 라이브러리에서 불투명하게 처리되며, 로컬 디바이스에서만 유효합니다. 네트워크를 통해 전송되지 않습니다.

## 요구 사항

**헤더:** PFMatchmaking.h

## 함께 보기

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


## Related topics

- [PFMatchmakingTicketGetCustomContext](/ko/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketgetcustomcontext.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)
- [XblMatchmakingCreateMatchTicketAsync](/ko/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakingcreatematchticketasync.md)
- [XblMatchmakingDeleteMatchTicketAsync](/ko/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakingdeletematchticketasync.md)
