> ## 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\*](/reference/live/xsapi-c/matchmaking_c/structs/xblcreatematchticketresponse)

调用方分配的结构，将用匹配票证结果填充。

### 返回值

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

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