> ## 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](/zh-TW/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsresultsize) 取得所需的大小。

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

呼叫端配置的位元組緩衝區，用於寫入結果。

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

指向緩衝區內的強型別指標。這是緩衝區內的指標，不應單獨釋放。

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

寫入緩衝區的位元組數。

### 傳回值

類型：HRESULT

此 API 作業的 HRESULT 傳回碼。

## 需求

**標頭：** matchmaking\_c.h

**程式庫：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另請參閱

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


## Related topics

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