MessengerGroup object

[MessengerGroup is no longer available for use as of 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.

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 [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