DWCMatchedCallback

C Specification

#include <dwc.h>

typedef void (*DWCMatchedCallback)(
                                   DWCError error,
                                   BOOL  cancel,
                                   void* param );

Description

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.

Arguments

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.

Return Values

None.

See Also

DWC_ConnectToAnybodyAsync, DWC_ConnectToFriendsAsync, DWC_GetLastErrorEx

Revision History

2005/12/16 Added a description of the callback select function.
2005/11/01 Initial version.