chatBanUser

GameSpy SDK

chatBanUser

Ban a user from the chat room.  The user may not rejoin.

void chatBanUser(
CHAT chat,
const gsi_char * channel,
const gsi_char * user );
RoutineRequired HeaderDistribution
chatBanUser<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.
user
[in] Chat nickname of user being banned.

Remarks

The caller of this function must have operator privileges for the channel in which the ban is to be performed.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatBanUserchatBanUserAchatBanUserW

chatBanUserW and chatBanUserA are UNICODE and ANSI mapped versions of chatBanUser. The arguments of chatBanUserA are ANSI strings; those of chatBanUserW are wide-character strings.

Section Reference: Gamespy Chat SDK

See Also: ChatConnect