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

# XblMatchmakingGetHopperStatisticsResult

> XblMatchmakingGetHopperStatisticsResult

Get the result for an XblMatchmakingGetHopperStatisticsAsync call.

## Syntax

```cpp theme={null}
HRESULT XblMatchmakingGetHopperStatisticsResult(  
         XAsyncBlock* asyncBlock,  
         size_t bufferSize,  
         void* buffer,  
         XblHopperStatisticsResponse** ptrToBuffer,  
         size_t* bufferUsed  
)  
```

### Parameters

*asyncBlock*   \_In\_\
Type: XAsyncBlock\*

The AsyncBlock for this operation.

*bufferSize*   \_In\_\
Type: size\_t

The size of the provided buffer. Use [XblMatchmakingGetHopperStatisticsResultSize](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsresultsize.md) to get the size required.

*buffer*   \_Out\_writes\_bytes\_to\_(bufferSize,*bufferUsed)\
Type: void*

A caller allocated byte buffer to write result into.

*ptrToBuffer*   \_Outptr\_\
Type: [XblHopperStatisticsResponse\*\*](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/structs/xblhopperstatisticsresponse.md)

Strongly typed pointer that points into buffer. This is a pointer within buffer and should not be freed separately.

*bufferUsed*   \_Out\_opt\_\
Type: size\_t\*

Number of bytes written to the buffer.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Requirements

**Header:** matchmaking\_c.h

**Library:** Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## See also

[matchmaking\_c](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members.md)


## Related topics

- [matchmaking_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members.md)
- [XblMatchmakingGetHopperStatisticsResultSize](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsresultsize.md)
- [XblMatchmakingGetHopperStatisticsAsync](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsasync.md)
- [XblUserStatisticsGetSingleUserStatisticResult](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticresult.md)
- [XblUserStatisticsGetSingleUserStatisticsResult](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticsresult.md)
