DWC_IsValidCancelMatch

Syntax

#include <dwc.h>
BOOL DWC_IsValidCancelMatch(void);

Arguments

None.

Return Values

TRUE Cancellation is possible.
FALSE Cancellation is impossible for one of three reasons: An error is occurring, matchmaking is not currently occurring, or cancellation is already in progress.

Description

This is deprecated. The functionality of the DWC_CancelMatch function has been merged with DWC_CloseAllConnectionsHard.

Checks whether the matchmaking in progress can be canceled.

This function is also called inside the DWC_CancelMatch function, which cancels matchmaking.

This function was kept for compatibility with previous versions. Under the current version, cancellation processing can also be performed by calling the DWC_CloseAllConnectionsHard function, so whenever possible, you should preferentially call the DWC_CloseAllConnectionsHard function instead of this function.

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL