Поделиться через


IRTCBuddyGroup::Buddies (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 buddies that are members of the group. If there are no buddies in this group, the method gets an empty collection. This method retrieves the buddies added in IRTCBuddyGroup::AddBuddy. C and C++ applications should use IRTCBuddyGroup::EnumerateBuddies.

Syntax

HRESULT get_Buddies( 
  IRTCCollection** ppCollection 
);

Parameters

  • ppCollection
    [out] Pointer to the IRTCCollection interface on a collection object containing an IRTCBuddy pointer for each buddy in this group. This method adds a reference to the collection 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 ppCollection parameter is not a valid pointer or the collection object could not be created.

Requirements

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

See Also

Reference

IRTCBuddyGroup
IRTCBuddyGroup::AddBuddy
IRTCBuddy
IRTCBuddyGroup::EnumerateBuddies
IRTCCollection::Count