chatGetChannelModeCallback

GameSpy SDK

chatGetChannelModeCallback

Called after an attempt to get the channel mode.

typedef void (*chatGetChannelModeCallback)(
CHAT chat,
CHATBool success,
const gsi_char * channel,
CHATChannelMode * mode,
void * param );
RoutineRequired HeaderDistribution
chatGetChannelModeCallback<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
mode
[in] One of the predefined modes
param
[in] Pointer to user data. Passed through unmodified from the initiating function.

Remarks

The chatGetChannelModeCallback function is called when an attempt to get the channel mode is complete. If successful, the function will have the channel name and its mode.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatGetChannelModeCallbackchatGetChannelModeCallbackAchatGetChannelModeCallbackW

chatGetChannelModeCallbackW and chatGetChannelModeCallbackA are UNICODE and ANSI mapped versions of chatGetChannelModeCallback. The arguments of chatGetChannelModeCallbackA are ANSI strings; those of chatGetChannelModeCallbackW are wide-character strings.

Section Reference: Gamespy Chat SDK