Share via


IMessengerPrivate interface

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

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

Members

The IMessengerPrivate interface inherits from the IDispatch interface. IMessengerPrivate also has these types of members:

Methods

The IMessengerPrivate interface has these methods.

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

Remarks

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

Requirements

Minimum supported client
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
Msgrpriv.h
IDL
Msgrpriv.idl
DLL
Msgsc.dll

See also

IDispatch

MessengerPriv

OnAlertReceived

Messenger Lock and Key API

Messenger Session Invite and Messenger Private APIs