Partager via


XblMultiplayerGetSearchHandlesResult

Get handles to the local search handle objects returned from XblMultiplayerGetSearchHandlesAsync call.

Syntax

HRESULT XblMultiplayerGetSearchHandlesResult(  
         XAsyncBlock* async,  
         XblMultiplayerSearchHandle* searchHandles,  
         size_t searchHandlesCount  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

searchHandles   _Out_writes_(searchHandlesCount)
Type: XblMultiplayerSearchHandle*

A caller allocated array to pass back the search handle results. Each handle must later be closed with XblMultiplayerSearchHandleCloseHandle.

searchHandlesCount   _In_
Type: size_t

Size of search handles array. Use XblMultiplayerGetSearchHandlesResultCount to get the count required.

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