#include <dwc.h>
typedef void (*DWCMatchedCallback)(
DWCError error,
BOOL cancel,
void* param );
This function is called when matchmaking has succeeded and error and cancel processing has completed after DWC_ConnectToAnybodyAsync
or DWC_ConnectToFriendsAsync
has been called.
This callback function can be set using DWC_ConnectToGameServerAsync
or DWC_SetupGameServer.
error |
DWC error type. For details, see DWC_GetLastErrorEx . |
cancel |
TRUE: Matchmaking terminated due to cancellation. FALSE: Matchmaking succeeded or terminated due to an error. |
param |
The parameters for the callback designated with DWC_ConnectToAnybodyAsync and DWC_ConnectToFriendsAsync . |
None.
DWC_ConnectToAnybodyAsync, DWC_ConnectToFriendsAsync, DWC_GetLastErrorEx
2005/12/16 Added a description of the callback select function.
2005/11/01 Initial version.