共用方式為


XblMultiplayerSearchHandleGetId

Get the Id for the search handle object.

Syntax

HRESULT XblMultiplayerSearchHandleGetId(  
         XblMultiplayerSearchHandle handle,  
         const char** id  
)  

Parameters

handle   _In_
Type: XblMultiplayerSearchHandle

Handle to the search handle details.

id   _Out_
Type: char**

Passes back a search handle Id. The memory for the 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