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

# XblMatchmakingCreateMatchTicketResult

> XblMatchmakingCreateMatchTicketResult

# XblMatchmakingCreateMatchTicketResult

取得 XblMatchmakingCreateMatchTicketAsync 呼叫的結果。

## 語法

```cpp theme={null}
HRESULT XblMatchmakingCreateMatchTicketResult(  
         XAsyncBlock* asyncBlock,  
         XblCreateMatchTicketResponse* resultPtr  
)  
```

### 參數

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

此作業的 AsyncBlock。

*resultPtr*   \_Out\_\
類型：[XblCreateMatchTicketResponse\*](/zh-TW/reference/live/xsapi-c/matchmaking_c/structs/xblcreatematchticketresponse)

呼叫端配置的結構，將填入配對票證結果。

### 傳回值

類型：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

- [XblMatchmakingCreateMatchTicketAsync](/zh-TW/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakingcreatematchticketasync.md)
- [從 MPSD 移至 PlayFab Multiplayer 與 MPA](/zh-TW/services/xbox-services/multiplayer/mpsd/concepts/live-mpsd-to-mlp.md)
- [XblCreateMatchTicketResponse](/zh-TW/reference/live/xsapi-c/matchmaking_c/structs/xblcreatematchticketresponse.md)
- [XblMatchmakingGetMatchTicketDetailsResult](/zh-TW/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsresult.md)
- [XblMatchmakingGetMatchTicketDetailsResultSize](/zh-TW/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsresultsize.md)
