共用方式為


XblMultiplayerSearchHandleGetCustomSessionPropertiesJson

Get the custom session properties for the associated session.

Syntax

HRESULT XblMultiplayerSearchHandleGetCustomSessionPropertiesJson(  
         XblMultiplayerSearchHandle handle,  
         const char** customPropertiesJson  
)  

Parameters

handle   _In_
Type: XblMultiplayerSearchHandle

Handle to the search handle details.

customPropertiesJson   _Out_
Type: char**

Passes back the custom properties JSON string. The memory for the returned pointer will remain valid for the life of the XblMultiplayerSessionHandle object until it is closed.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

multiplayer_c