Compartilhar via


XblMatchmakingGetHopperStatisticsResult

Get the result for an XblMatchmakingGetHopperStatisticsAsync call.

Syntax

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

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