chatGetBasicUserInfoCallback

GameSpy SDK

chatGetBasicUserInfoCallback

Called after an attempt to get basic information on a user.

typedef void (*chatGetBasicUserInfoCallback)(
CHAT chat,
CHATBool success,
const gsi_char * nick,
const gsi_char * user,
const gsi_char * address,
void * param );
RoutineRequired HeaderDistribution
chatGetBasicUserInfoCallback<chat.h>SDKZIP

Parameters

chat
[in] The initialized chat interface object.
success
[in] CHATTrue if success, CHATFalse if failure.
nick
[in] The user's chat nickname
user
[in] The nickname of the target user
address
[in] The IP address of the user
param
[in] Pointer to user data. Passed through unmodified from the initiating function.

Remarks

The chatGetBasicUserInfoCallback function is called when an attempt to get basic information on a user is completed. If successful, the information will contain the user's chat nickname, the IP address of that user.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatGetBasicUserInfoCallbackchatGetBasicUserInfoCallbackAchatGetBasicUserInfoCallbackW

chatGetBasicUserInfoCallbackW and chatGetBasicUserInfoCallbackA are UNICODE and ANSI mapped versions of chatGetBasicUserInfoCallback. The arguments of chatGetBasicUserInfoCallbackA are ANSI strings; those of chatGetBasicUserInfoCallbackW are wide-character strings.

Section Reference: Gamespy Chat SDK