次の方法で共有


IRTCBuddy2::Groups (Windows Embedded CE 6.0)

1/6/2010

Note

This method is unsupported in Windows Embedded CE 6.0.

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.

Syntax

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 Value

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

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IRTCBuddy2
IRTCBuddy2::EnumerateGroups
IRTCBuddyGroup
IRTCCollection