Compartir a través de


XblMultiplayerCreateSearchHandleResult

Get the result from an XblMultiplayerCreateSearchHandleAsync.

Syntax

HRESULT XblMultiplayerCreateSearchHandleResult(  
         XAsyncBlock* async,  
         XblMultiplayerSearchHandle* handle  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

handle   _Out_opt_
Type: XblMultiplayerSearchHandle*

Passes back a handle to the local search handle object. If this parameter is null, the local search handle object will be freed immediately. Note that this does not destroy the search handle on the MPSD service side, that must be done with XblMultiplayerDeleteSearchHandleAsync. If this is non-null, the handle must later be closed with XblMultiplayerSearchHandleCloseHandle.

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