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

# PartyInvitation::GetCustomContext

> この招待オブジェクトに以前に関連付けられた、アプリのプライベートなカスタム ポインター サイズのコンテキスト値を取得します。

この招待オブジェクトに以前に関連付けられた、アプリのプライベートなカスタム ポインター サイズのコンテキスト値を取得します。

## 構文

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

### パラメーター

**`customContext`**   void\*\*\
*出力、nullptr を返す可能性あり*

出力されるカスタム コンテキスト。

### 戻り値

PartyError

カスタム コンテキストの取得が成功した場合は `c_partyErrorSuccess`、それ以外の場合はエラー コード。エラー コードの人間が読める形式は、[PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage) で取得できます。

## 解説

カスタム コンテキストがまだ設定されていない場合、`customContext` が指す値は nullptr に設定されます。

## 要件

**ヘッダー:** Party.h

## 関連項目

[PartyInvitation](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/partyinvitation)\
[PartyInvitation::SetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_setcustomcontext)


## Related topics

- [PartyInvitation::SetCustomContext](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_setcustomcontext.md)
- [PartyInvitation::GetInvitationConfiguration](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyInvitation/methods/partyinvitation_getinvitationconfiguration.md)
- [PartyDevice::GetCustomContext](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyDevice/methods/partydevice_getcustomcontext.md)
- [PartyEndpoint::GetCustomContext](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getcustomcontext.md)
- [PartyNetwork::GetCustomContext](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_getcustomcontext.md)
