gpIsValidEmail

GameSpy SDK

gpIsValidEmail

This function checks if there is an account with the given e-mail address.

GPResult gpIsValidEmail(
GPConnection * connection,
const gsi_char email[GP_EMAIL_LEN],
GPEnum blocking,
GPCallback callback,
void * param );
RoutineRequired HeaderDistribution
gpIsValidEmail<gp.h>SDKZIP

Return Value

This function returns GP_NO_ERROR upon success. Otherwise a valid GPResult is returned.

Parameters

connection
[in] A GP connection interface.
email
[in] The e-mail address to list accounts for.
blocking
[in] GP_BLOCKING or GP_NON_BLOCKING
callback
[in] A user supplied callback with an arg of the type GPIsValidEmailResponseArg
param
[in] Pointer to user defined data. This value will be passed unmodified to the callback function.

Remarks

This function contacts the Search Manager and checks to see if there is a user with the given e-mail address.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
gpIsValidEmailgpIsValidEmailAgpIsValidEmailW

gpIsValidEmailW and gpIsValidEmailA are UNICODE and ANSI mapped versions of gpIsValidEmail. The arguments of gpIsValidEmailA are ANSI strings; those of gpIsValidEmailW are wide-character strings.

Section Reference: Gamespy Presence SDK

See Also: GPIsValidEmailResponseArg