Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Important
XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.
Retrieves the app's private, custom pointer-sized context value previously associated with this ticket object.
Syntax
HRESULT PFMatchmakingTicketGetCustomContext(
PFMatchmakingTicketHandle ticket,
void** customContext
)
Parameters
ticket PFMatchmakingTicketHandle
The handle of the matchmaking ticket.
customContext void**
output, may return nullptr
The output custom context.
Return value
Type: HRESULT
S_OK if retrieving the custom context succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PFMultiplayerGetErrorMessage().
Remarks
If no custom context has been set yet, the value pointed to by customContext is set to nullptr.
Requirements
Header: PFMatchmaking.h