Editar

Compartir vía


PFLobbyGetCustomContext

Retrieves the app's private, custom pointer-sized context value previously associated with this lobby object.

Syntax

HRESULT PFLobbyGetCustomContext(  
    PFLobbyHandle lobby,  
    void** customContext  
)  

Parameters

lobby   PFLobbyHandle

The handle of the lobby.

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: PFLobby.h

See also

PFLobby members
PFLobbySetCustomContext