IMessengerPrivate Interface

Deprecated. The IMessengerPrivate interface is a Messenger service API that provides programmatic access to the MessengerPriv object.

IMessengerPrivate Members

AddContact Adds a contact to the contact list with no prompting or notification user interface (UI).
EnableAlertEvents Enables the Messenger client to be notified when the Messenger service fires events.

Remarks

IMessengerPrivate enables an application to add Microsoft Windows Messenger contacts programmatically. IMessengerPrivate also provides a mechanism for a Messenger client application to receive notifications from the DMessengerPrivateEvents::OnAlertReceived event.

Important  IMessengerPrivate is no longer available in Windows Vista. See Windows Messenger for more information.

Interface Information

Stock Implementation msgsc.dll
Custom Implementation No
Inherits from IDispatch World Wide Web link
Header and IDL files msgrpriv.h, msgrpriv.idl
Minimum availability Messenger 4.5
Minimum operating systems Windows 95, Windows NT 4.0 (requires Internet Explorer 5.0 or later)

See Also

MessengerPriv, DMessengerPrivateEvents::OnAlertReceived, Messenger Lock and Key API, Messenger Session Invite and Messenger Private APIs