MessengerPriv Object
Collapse the table of content
Expand the table of content

MessengerPriv

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The MessengerPriv object enables an application to query the IMessengerPrivate interface to add contacts to a Communicator instance without using any UI elements.

The MessengerPriv object implements the IMessengerPrivate interface and DMessengerPrivateEvents dispinterface.

Object Information

Class ID

899FAA7D-D876-47bd-B8F2-0EE3611C6FAA

(CLSID_MessengerPrivate)

Implemented interfaces

IMessengerPrivate

DMessengerPrivateEvents

Instantiation method

Call the CoCreateInstance setting the CLSID parameter to CLSID_MessengerPrivate

Header/IDL

Msgrpriv.h, Msgrpriv.idl

Versions

Microsoft® Office Communicator Automation API

Operating systems

Microsoft Windows Server® 2003, Windows® XP SP1 or later, or Windows 2000 SP4. Communicator-imposed restrictions apply.

Description

The following code example illustrates the creation of an instance of a MessengerPriv object implementing the IMessengerPrivate interface.

Code

CommunicatorPrivate.MessengerPrivClass msgrPrivClass = new MessengerPrivClass();
Show:
© 2016 Microsoft