chatGetChannelTopicCallback

GameSpy SDK

chatGetChannelTopicCallback

Called after an attempt to get the channel's topic.

typedef void (*chatGetChannelTopicCallback)(
CHAT chat,
CHATBool success,
const gsi_char * channel,
const gsi_char * topic,
void * param );
RoutineRequired HeaderDistribution
chatGetChannelTopicCallback<chat.h>SDKZIP

Parameters

chat
[in] The initialized chat interface object.
success
[in] CHATTrue if success, CHATFalse if failure.
channel
[in] The name of channel
topic
[in] A string containing the topic
param
[in] Pointer to user data. Passed through unmodified from the initiating function.

Remarks

The chatGetChannelTopicCallback function is called when an attempt to obtain the channel's topic is complete. If successful, the text message containing the topic for that channel will be available.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatGetChannelTopicCallbackchatGetChannelTopicCallbackAchatGetChannelTopicCallbackW

chatGetChannelTopicCallbackW and chatGetChannelTopicCallbackA are UNICODE and ANSI mapped versions of chatGetChannelTopicCallback. The arguments of chatGetChannelTopicCallbackA are ANSI strings; those of chatGetChannelTopicCallbackW are wide-character strings.

Section Reference: Gamespy Chat SDK