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

# XblMatchmakingGetMatchTicketDetailsResult

> XblMatchmakingGetMatchTicketDetailsResult

# XblMatchmakingGetMatchTicketDetailsResult

Get the result for an XblMatchmakingGetMatchTicketDetailsAsync call.

## Syntax

```cpp theme={null}
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](/reference/live/xsapi-c/matchmaking_c/functions/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\*\*](/reference/live/xsapi-c/matchmaking_c/structs/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](/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members)


## Related topics

- [XblMatchmakingGetMatchTicketDetailsResultSize](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsresultsize.md)
- [XblMatchmakingGetMatchTicketDetailsAsync](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsasync.md)
- [XblMatchmakingCreateMatchTicketResult](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakingcreatematchticketresult.md)
- [MatchmakingTicket.GetMatchDetails](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/MatchmakingTicket/GetMatchDetails.md)
- [XblMatchmakingCreateMatchTicketAsync](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakingcreatematchticketasync.md)
