共用方式為


XblMatchmakingGetMatchTicketDetailsResult

Get the result for an XblMatchmakingGetMatchTicketDetailsAsync call.

Syntax

HRESULT XblMatchmakingGetMatchTicketDetailsResult(  
         XAsyncBlock* asyncBlock,  
         size_t bufferSize,  
         void* buffer,  
         XblMatchTicketDetailsResponse** 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 XblMatchmakingGetMatchTicketDetailsResultSize 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: XblMatchTicketDetailsResponse**

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