#include <dwc.h>BOOL DWC_CancelMatch(void);None.
| TRUE | The cancel process succeeded. |
| FALSE | An error is being generated or execution is impossible because matchmaking is not in progress or cancellation is already under way. |
This function cancels the matchmaking in progress.
The cancel process completes inside this function, and a matching completion callback function (DWCMatchedSCCallback) is called. When that happens, the cancel argument of the callback function is TRUE.
To check whether cancellation is currently possible, use the DWC_IsValidCancelMatch function.
Only use this function when the local host has not connected to anyone else yet. Use the DWC_CloseAllConnectionsHard function when the local host has connected to someone even once.
DWCMatchedCallback.CONFIDENTIAL