Partager via


XblMultiplayerSearchHandleGetNumberAttributes

Get a pointer to an array of attributes attached with the search handle.

Syntax

HRESULT XblMultiplayerSearchHandleGetNumberAttributes(  
         XblMultiplayerSearchHandle handle,  
         const XblMultiplayerSessionNumberAttribute** attributes,  
         size_t* attributesCount  
)  

Parameters

handle   _In_
Type: XblMultiplayerSearchHandle

Handle to the search handle details.

attributes   _Out_
Type: XblMultiplayerSessionNumberAttribute**

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

attributesCount   _Out_
Type: size_t*

Passes back the count of attributes in the attributes array.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

multiplayer_c