XblMultiplayerManagerCancelMatch
Cancels the match request on the server, if one exists.
Syntax
void XblMultiplayerManagerCancelMatch(
)
Parameters
Return value
Type: void
Remarks
This function cancels a previously submitted match ticket. This function is ignored if the status of the match ticket is set to XblMultiplayerMatchStatus::None
, XblMultiplayerMatchStatus::Expired
, XblMultiplayerMatchStatus::Canceled
, or XblMultiplayerMatchStatus::Failed
, or if a different host submitted the match ticket.
If this function is called, the status of the match ticket is set to XblMultiplayerMatchStatus::Canceling
until the match ticket is canceled on the server.
For more information about match tickets, see Multiplayer concepts overview.
Requirements
Header: multiplayer_manager_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib
See also
multiplayer_manager_c
XblMultiplayerManagerFindMatch
XblMultiplayerManagerMatchStatus