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

获取 XblMatchmakingGetMatchTicketDetailsAsync 调用的结果。

## 语法

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

### 参数

*asyncBlock*   \_In\_\
类型：XAsyncBlock\*

此操作的 AsyncBlock。

*bufferSize*   \_In\_\
类型：size\_t

所提供缓冲区的大小。使用 [XblMatchmakingGetMatchTicketDetailsResultSize](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsresultsize) 来获取所需的大小。

*buffer*   \_Out\_writes\_bytes\_to\_(bufferSize,*bufferUsed)\
类型：void*

由调用方分配的用于写入结果的字节缓冲区。

*ptrToBuffer*   \_Outptr\_\
类型：[XblMatchTicketDetailsResponse\*\*](/reference/live/xsapi-c/matchmaking_c/structs/xblmatchticketdetailsresponse)

指向 buffer 内部的强类型指针。这是 buffer 中的一个指针，不应单独释放。

*bufferUsed*   \_Out\_opt\_\
类型：size\_t\*

写入缓冲区的字节数。

### 返回值

类型：HRESULT

此 API 操作的 HRESULT 返回代码。

## 要求

**头文件：** matchmaking\_c.h

**库：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另请参阅

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


## Related topics

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