共用方式為


XblMultiplayerSearchHandleGetSessionOwnerXuids

Get a pointer to an array of Xuids who own the session associated with the search handle.

Syntax

HRESULT XblMultiplayerSearchHandleGetSessionOwnerXuids(  
         XblMultiplayerSearchHandle handle,  
         const uint64_t** xuids,  
         size_t* xuidsCount  
)  

Parameters

handle   _In_
Type: XblMultiplayerSearchHandle

Handle to the search handle details.

xuids   _Out_
Type: uint64_t**

Passes back a pointer to array of xuids. The memory for the pointer will remain valid for the life of the XblMultiplayerSessionHandle object until it is closed.

xuidsCount   _Out_
Type: size_t*

Passes back the count of xuids in the array.

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