Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Retrieves the session reference for the lobby session.
Syntax
HRESULT XblMultiplayerManagerLobbySessionSessionReference(
XblMultiplayerSessionReference* sessionReference
)
Parameters
sessionReference _Out_
Type: XblMultiplayerSessionReference*
Passes back a pointer to the session reference for the lobby session, or null if a lobby session doesn't exist. The memory for the returned pointer remains valid until the next call to XblMultiplayerManagerDoWork.
Return value
Type: HRESULT
HRESULT return code for this API operation.
Remarks
This function retrieves a pointer to the session reference for the lobby session, if the lobby session exists in Multiplayer Manager. The session reference contains the service configuration ID (SCID), session template, and session name for the lobby session, and uniquely identifies the lobby session in Multiplayer Session Directory (MPSD). For more information about session references, see Multiplayer Session advanced topics.
Requirements
Header: multiplayer_manager_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib
See also
multiplayer_manager_c
XblMultiplayerManagerLobbySessionCorrelationId
XblMultiplayerManagerGameSessionSessionReference