> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblMultiplayerCreateSearchHandleResult

> XblMultiplayerCreateSearchHandleResult

# XblMultiplayerCreateSearchHandleResult

Get the result from an XblMultiplayerCreateSearchHandleAsync.

## Syntax

```cpp theme={null}
HRESULT XblMultiplayerCreateSearchHandleResult(  
         XAsyncBlock* async,  
         XblMultiplayerSearchHandle* handle  
)  
```

### Parameters

*async*   \_In\_\
Type: XAsyncBlock\*

The AsyncBlock for this operation.

*handle*   \_Out\_opt\_\
Type: [XblMultiplayerSearchHandle\*](/reference/live/xsapi-c/multiplayer_c/handles/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](/reference/live/xsapi-c/multiplayer_c/functions/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](/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members)


## Related topics

- [XblMultiplayerCreateSearchHandleAsync](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayercreatesearchhandleasync.md)
- [XblMultiplayerGetSearchHandlesResult](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayergetsearchhandlesresult.md)
- [XblMultiplayerGetSearchHandlesResultCount](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayergetsearchhandlesresultcount.md)
- [XblMultiplayerSearchHandleDuplicateHandle](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandleduplicatehandle.md)
- [XblMultiplayerSearchHandleCloseHandle](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandleclosehandle.md)
