> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblMatchmakingCreateMatchTicketResult

> XblMatchmakingCreateMatchTicketResult

Get the result for an XblMatchmakingCreateMatchTicketAsync call.

## Syntax

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

### Parameters

*asyncBlock*   \_In\_\
Type: XAsyncBlock\*

The AsyncBlock for this operation.

*resultPtr*   \_Out\_\
Type: [XblCreateMatchTicketResponse\*](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/structs/xblcreatematchticketresponse.md)

A caller allocated struct to be filled with the match ticket results.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Requirements

**Header:** matchmaking\_c.h

**Library:** Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## See also

[matchmaking\_c](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members.md)


## Related topics

- [XblMatchmakingCreateMatchTicketAsync](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakingcreatematchticketasync.md)
- [matchmaking_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members.md)
- [Moving from MPSD to PlayFab Multiplayer and MPA](https://docs.xbox.com/services/xbox-services/multiplayer/mpsd/concepts/live-mpsd-to-mlp.md)
- [XblMatchmakingGetMatchTicketDetailsResultSize](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsresultsize.md)
- [XblCreateMatchTicketResponse](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/structs/xblcreatematchticketresponse.md)
