Skip to main content
Retrieves the app’s private, custom pointer-sized context value previously associated with this local chat user object.

Syntax

Parameters

customContext   void**
output, may return nullptr
The output custom context.

Return value

PartyError c_partyErrorSuccess if retrieving the custom context succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PartyXblManager::GetErrorMessage().

Remarks

If no custom context has been set yet, the value pointed to by customContext is set to nullptr.

Requirements

Header: PartyXboxLive.h

See also

PartyXblChatUser
PartyXblChatUser::SetCustomContext
Last modified on August 3, 2026