IRTCBuddy2::Groups (Windows CE 5.0)

Send Feedback

This method gets a collection of the groups to which this buddy belongs. This buddy is added to the group in the IRTCBuddyGroup::AddBuddy method. 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 to which this buddy belongs. This method adds a reference to the enumeration object, which the caller is responsible for releasing.

Return Values

This method can return an RTC_E_ constant. The following table shows an additional possible return value.

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

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h. Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCBuddy2 | IRTCBuddy2::EnumerateGroups | IRTCBuddyGroup | IRTCCollection

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.