Microsoft Chat Server SDK Reference |
---|
This notification allows extensions to modify any of the channel properties or to cancel the creation of a dynamic channel.
Visual Basic:HRESULT OnNewChannel(
IChatChannel *Channel,
VARIANT_BOOL PostUpdate,
long *Cancel);
Function IChatServerCallBack_OnNewChannel(_
ByVal Channel As CHATSVCLib.IChatChannel, _
ByVal PostUpdate As Boolean) As Long
The pre-update invocation occurs when the server has created the channel object but before the channel is visible to any other aspect of the server. The extension can therefore validate any of the channel properties as necessary, such as to check the channel topic for profanity, and effect the completion of the event as necessary.
The extension can register for further channel-related event notifications during the processing of this event.
© 1998 Microsoft Corporation. All rights reserved.