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

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

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.14x.GDK.C.lib

## See also

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


## Related topics

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