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

# 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.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## See also

[multiplayer\_c](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members.md)


## Related topics

- [XblMultiplayerGetSearchHandlesResult](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayergetsearchhandlesresult.md)
- [multiplayer_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members.md)
- [XblMultiplayerSearchHandleGetMemberCounts](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegetmembercounts.md)
- [XblMultiplayerSearchHandleGetTags](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegettags.md)
- [XblMultiplayerSearchHandleGetStringAttributes](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegetstringattributes.md)
