PartyLocalUser::GetCustomContext
Retrieves the app's private, custom pointer-sized context value previously associated with this local user object.
Syntax
PartyError GetCustomContext(
void** customContext
)
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 PartyManager::GetErrorMessage().
Remarks
If no custom context has been set yet, the value pointed to by customContext
is set to nullptr.
Requirements
Header: Party.h
See also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour