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

# PartyChatControl::SetCustomContext

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

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

## Syntax

```cpp theme={null}
PartyError SetCustomContext(  
    void* customContext  
)  
```

### Parameters

**`customContext`**   void\*\
*optional*

채팅 컨트롤 개체와 함께 저장할 임의의 포인터 크기 값입니다.

### Return value

PartyError

사용자 지정 컨텍스트를 구성하는 데 성공하면 `c_partyErrorSuccess`이며, 그렇지 않으면 오류 코드입니다. 오류 코드의 사람이 읽을 수 있는 형태는 [PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage)를 통해 가져올 수 있습니다.

## Remarks

사용자 지정 컨텍스트는 일반적으로 매핑 조회 없이 채팅 컨트롤과 연결된 로컬, 타이틀별 메모리에 접근하는 것을 단순화하는 "바로 가기"로 사용됩니다. 값은 [GetCustomContext()](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/methods/partychatcontrol_getcustomcontext) 메서드를 사용하여 가져옵니다. <br /><br /> 구성된 모든 값은 라이브러리가 불투명하게 처리하며, 로컬 디바이스에서만 유효합니다. 네트워크를 통해 전송되지 않습니다.

## Requirements

**Header:** Party.h

## See also

[PartyChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/partychatcontrol)\
[PartyChatControl::GetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/methods/partychatcontrol_getcustomcontext)


## Related topics

- [PartyChatControl::GetCustomContext](/ko/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/methods/partychatcontrol_getcustomcontext.md)
- [PartyXblChatUser::SetCustomContext](/ko/services/playfab/multiplayer/networking/xblreference/classes/PartyXblChatUser/methods/partyxblchatuser_setcustomcontext.md)
- [PartyInvitation::SetCustomContext](/ko/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_setcustomcontext.md)
- [PartyDevice::SetCustomContext](/ko/services/playfab/multiplayer/networking/reference/classes/PartyDevice/methods/partydevice_setcustomcontext.md)
- [PartyNetwork::SetCustomContext](/ko/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_setcustomcontext.md)
