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

# XblMatchmakingGetHopperStatisticsResult

> 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](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsresultsize) 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\*\*](/reference/live/xsapi-c/matchmaking_c/structs/xblhopperstatisticsresponse)

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.14x.GDK.C.lib

## See also

[matchmaking\_c](/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members)


## Related topics

- [XblMatchmakingGetHopperStatisticsResultSize](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsresultsize.md)
- [XblMatchmakingGetHopperStatisticsAsync](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsasync.md)
- [XblUserStatisticsGetSingleUserStatisticResult](/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticresult.md)
- [XblUserStatisticsGetSingleUserStatisticsResult](/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticsresult.md)
- [XblUserStatisticsGetMultipleUserStatisticsResult](/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetmultipleuserstatisticsresult.md)
