chatAddChannelBan

GameSpy SDK

chatAddChannelBan

Ban a nickname from the specified channel.  Local client must have moderator privileges.

void chatAddChannelBan(
CHAT chat,
const gsi_char * channel,
const gsi_char * ban );
RoutineRequired HeaderDistribution
chatAddChannelBan<chat.h>SDKZIP

Parameters

chat
[in] Chat SDK object, previously initialized using one of the chatConnect methods.
channel
[in] Name of chat channel from which user is being banned.
ban
[in] Chat nickname of user being banned.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatAddChannelBanchatAddChannelBanAchatAddChannelBanW

chatAddChannelBanW and chatAddChannelBanA are UNICODE and ANSI mapped versions of chatAddChannelBan. The arguments of chatAddChannelBanA are ANSI strings; those of chatAddChannelBanW are wide-character strings.

Section Reference: Gamespy Chat SDK