chatGetUserInfo

GameSpy SDK

chatGetUserInfo

Gets information on the specified user.

void chatGetUserInfo(
CHAT chat,
const gsi_char * user,
chatGetUserInfoCallback callback,
void * param,
CHATBool blocking );
RoutineRequired HeaderDistribution
chatGetUserInfo<chat.h>SDKZIP

Parameters

chat
[in] Chat SDK object, previously initialized using one of the chatConnect methods.
user
[in] User's chat nickname.
callback
[in] Optional user-supplied function to be called when the operation has completed.
param
[in] Optional pointer to user data; will be passed unmodified to the callback function.
blocking
[in] If CHATTrue, return only after the operation has completed; otherwise, return immediately.

Remarks

The user nformation includes the user's profile nickname, username, real name and address.  The callback also contains the channels that this user is a member of.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatGetUserInfochatGetUserInfoAchatGetUserInfoW

chatGetUserInfoW and chatGetUserInfoA are UNICODE and ANSI mapped versions of chatGetUserInfo. The arguments of chatGetUserInfoA are ANSI strings; those of chatGetUserInfoW are wide-character strings.

Section Reference: Gamespy Chat SDK