Share via


IRTCBuddy2::get_Groups

The get_Groups method returns a collection of the groups this buddy belongs to. This buddy is added to the group in the IRTCBuddyGroup::AddBuddy method. This method is intended for applications written in Visual Basic. C and C++ applications should use the IRTCBuddy2::EnumerateGroups method.

HRESULT get_Groups(IRTCCollection**ppCollection);

Parameters

  • ppCollection
    [out] Pointer to an IRTCCollection interface on a collection object containing an IRTCBuddyGroup pointer for each group this buddy belongs to. This call adds a reference to the enumeration object, which the call is responsible for releasing.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_FAIL The collection object could not be created, or the ppCollection parameter is not a valid pointer.

Requirements

Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCBuddy2 is defined as 102F9588-23E7-40e3-954D-CD7A1D5C0361.

See Also

IRTCBuddy2::EnumerateGroups, IRTCBuddy2, IRTCBuddy