Share via


DMessengerEvents::OnIMWindowContactRemoved event

[OnIMWindowContactRemoved is no longer available for use as of Windows Vista. See Windows Messenger for more information.]

Indicates that a contact has been removed from the ongoing conversation.

Syntax

void OnIMWindowContactRemoved(
  [in] IDispatch *pContact,
  [in] IDispatch *pIMWindow
);

Parameters

*pContact* \[in\]
C++ Pointer to a IDispatch interface on the MessengerContact object that corresponds to the added contact. Using this pointer, clients can now code to its IMessengerContact interface.
VB A MessengerContact object that corresponds to the added contact.
*pIMWindow* \[in\]
C++ Pointer to a IDispatch interface on the MessengerConversationWnd object. Using this pointer, clients can now code to its IMessengerConversationWnd interface.
VB A MessengerConversationWnd object.

Return value

This event does not return a value.

Remarks

To be used when writing custom ::Invoke methods to handle these events.

Parameter vaArgs[x] Variant Type
pContact 0 VT_DISPATCH
pIMWindow 1 VT_DISPATCH

Note

This event is available for scripting languages.

Requirements

Minimum supported client
Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
End of client support
Windows XP
End of server support
Windows Server 2003
Product
Messenger 4.5
Header
Msgrua.h
IDL
Msgrua.idl
DLL
Msgsc.dll