chatGetGlobalKeys

GameSpy SDK

chatGetGlobalKeys

Retrieves a list of global keys for a single user, or all users.

void chatGetGlobalKeys(
CHAT chat,
const gsi_char * target,
int num,
const gsi_char ** keys,
chatGetGlobalKeysCallback callback,
void * param,
CHATBool blocking );
RoutineRequired HeaderDistribution
chatGetGlobalKeys<chat.h>SDKZIP

Parameters

chat
[in] Chat SDK object, previously initialized using one of the chatConnect methods.
target
[in] Target name, or NULL to specify all users.
num
[in] Number of keys to retrieve for each target.
keys
[in] Array of key names to request values for.
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

T.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatGetGlobalKeyschatGetGlobalKeysAchatGetGlobalKeysW

chatGetGlobalKeysW and chatGetGlobalKeysA are UNICODE and ANSI mapped versions of chatGetGlobalKeys. The arguments of chatGetGlobalKeysA are ANSI strings; those of chatGetGlobalKeysW are wide-character strings.

Section Reference: Gamespy Chat SDK

See Also: chatSetGlobalKeys