Partager via


XblMultiplayerSearchHandleGetStringAttributes

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

Syntax

HRESULT XblMultiplayerSearchHandleGetStringAttributes(  
         XblMultiplayerSearchHandle handle,  
         const XblMultiplayerSessionStringAttribute** attributes,  
         size_t* attributesCount  
)  

Parameters

handle   _In_
Type: XblMultiplayerSearchHandle

Handle to the search handle details.

attributes   _Out_
Type: XblMultiplayerSessionStringAttribute**

Passes back a pointer to array of attributes. The memory for the 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 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