MessengerGroup Object

[MessengerGroup is no longer available in Windows Vista. See Windows Messenger for more information.]

Do not use. The MessengerGroup object corresponds to the IMessengerGroup interface. It represents a single group as stored in the Messenger object's internal group list.

Members

The MessengerGroup object inherits from the IUnknown interface but does not define additional members.

Remarks

MSMSGS.EXE implements this object.

A MessengerGroup object is not intended to be created separately through CoCreateInstance or other Component Object Model (COM) object instantiation techniques. Client implementers should access existing MessengerGroup objects only after creating the Messenger object. After this object is created, a MessengerGroup object can be referenced through one of the following:

  • Calling the Item method on the MessengerGroup object representing the group list.
  • Various DMessengerEvents events that return MessengerGroup object references.

MessengerGroup objects will continue to exist after they are removed from the contact list programmatically or through user action until they are released. In Microsoft Visual C++, you can determine whether MessengerGroup objects are no longer in the group list by monitoring OnGroupRemoved events. In most cases, a MessengerGroup object that is no longer in the group list should be released. All objects should be released as part of a cleanup or shutdown routine.

Interfaces Implemented

IMessengerGroup

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Messenger 4.5

Header

Msgrua.h

IDL

Msgrua.idl

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010

Show: