> ## 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.

# XblMultiplayerGetSearchHandlesResultCount

> XblMultiplayerGetSearchHandlesResultCount

# XblMultiplayerGetSearchHandlesResultCount

Get the number of search handles returned from an XblMultiplayerGetSearchHandlesAsync call.

## Syntax

```cpp theme={null}
HRESULT XblMultiplayerGetSearchHandlesResultCount(  
         XAsyncBlock* async,  
         size_t* searchHandleCount  
)  
```

### Parameters

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

The AsyncBlock for this operation.

*searchHandleCount*   \_Out\_\
Type: size\_t\*

Passes back the number of search results.

### 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

- [XblMultiplayerGetSearchHandlesResult](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayergetsearchhandlesresult.md)
- [XblMultiplayerSearchHandleGetMemberCounts](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegetmembercounts.md)
- [XblMultiplayerSearchHandleGetTags](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegettags.md)
- [XblMultiplayerSearchHandleGetStringAttributes](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegetstringattributes.md)
- [XblMultiplayerSearchHandleGetNumberAttributes](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegetnumberattributes.md)
