chatSetChannelMode

GameSpy SDK

chatSetChannelMode

Set a channel’s mode.

void chatSetChannelMode(
CHAT chat,
const gsi_char * channel,
CHATChannelMode * mode );
RoutineRequired HeaderDistribution
chatSetChannelMode<chat.h>SDKZIP

Parameters

chat
[in] Chat SDK object, previously initialized using one of the chatConnect methods.
channel
[in] Name of the chat channel whose mode is being set.
mode
[in] Properties to set on the target channel.

Remarks

The mode includes standard IRC properties such as "InviteOnly, Private and Moderated".

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatSetChannelModechatSetChannelModeAchatSetChannelModeW

chatSetChannelModeW and chatSetChannelModeA are UNICODE and ANSI mapped versions of chatSetChannelMode. The arguments of chatSetChannelModeA are ANSI strings; those of chatSetChannelModeW are wide-character strings.

Section Reference: Gamespy Chat SDK

See Also: CHATChannelMode, chatGetChannelMode