chatAuthenticateCDKeyCallback

GameSpy SDK

chatAuthenticateCDKeyCallback

Called when chatAuthenticateCDKey and attempt to authenticate the CD-Key is finished.

typedef void (*chatAuthenticateCDKeyCallback)(
CHAT chat,
int result,
const gsi_char * message,
void * param );
RoutineRequired HeaderDistribution
chatAuthenticateCDKeyCallback<chat.h>SDKZIP

Parameters

chat
[in] The initialized chat interface object.
result
[in] Indicates the result of the attempt.
message
[in] The text message representing the result.
param
[in] Pointer to user data. Passed through unmodified from the initiating function.

Remarks

The chatAuthenticateCDKeyCallback function gets called when an attempt to authenticate a CD key is finished. If the result has a value of 1, the CD key was authenticated. Otherwise, the CD key was not authenticated.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatAuthenticateCDKeyCallbackchatAuthenticateCDKeyCallbackAchatAuthenticateCDKeyCallbackW

chatAuthenticateCDKeyCallbackW and chatAuthenticateCDKeyCallbackA are UNICODE and ANSI mapped versions of chatAuthenticateCDKeyCallback. The arguments of chatAuthenticateCDKeyCallbackA are ANSI strings; those of chatAuthenticateCDKeyCallbackW are wide-character strings.

Section Reference: Gamespy Chat SDK