Microsoft Chat Server SDK Reference |
---|
This method provides notification that channel access is about to change, or has changed for the member.
Visual Basic:HRESULT OnChangedMember(
IChatChannel *Channel,
IChatUser *User,
CHAT_USER_MODE Mode,
VARIANT Value,
VARIANT_BOOL PostUpdate,
long *Cancel);
Function IChatChannelCallBack_OnChangedMember( _
ByVal Channel As CHATSVCLib.IChatChannel, _
ByVal User As CHATSVCLib.IChatUser, _
ByVal Mode As CHATSVCLib.CHAT_USER_MODE, _
ByRef Value As Variant, _
ByVal PostUpdate As Boolean) As Long
This notification is triggered whenever a member gains or loses owner, host, or voice rights in a channel. No OnChangedMember event will occur with Mode set to CHAT_CHANNELMEMBER. To monitor for changes in channel membership you must bind to the OnAddMember and OnRemoveMember channel event notifications.
The extension can modify the contents of Value during the pre-update notification.
© 1998 Microsoft Corporation. All rights reserved.