chatEnumJoinedChannelsCallback

GameSpy SDK

chatEnumJoinedChannelsCallback

Called after an attempt to enumerate joined channels.

typedef void (*chatEnumJoinedChannelsCallback)(
CHAT chat,
int index,
const gsi_char * channel,
void * param );
RoutineRequired HeaderDistribution
chatEnumJoinedChannelsCallback<chat.h>SDKZIP

Parameters

chat
[in] The initialized chat interface object.
index
[in] An index of the joined channels for this channel
channel
[in] The name of the channel
param
[in] Pointer to user data. Passed through unmodified from the initiating function.

Remarks

The chatEnumJoinedChannelsCallback function is calle when an attempt to enumerate--the channels the local player has joined--is complete. The function will contain the channel name, an index to the channel which refers to the position in the list of joined channels.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatEnumJoinedChannelsCallbackchatEnumJoinedChannelsCallbackAchatEnumJoinedChannelsCallbackW

chatEnumJoinedChannelsCallbackW and chatEnumJoinedChannelsCallbackA are UNICODE and ANSI mapped versions of chatEnumJoinedChannelsCallback. The arguments of chatEnumJoinedChannelsCallbackA are ANSI strings; those of chatEnumJoinedChannelsCallbackW are wide-character strings.

Section Reference: Gamespy Chat SDK