Compartilhar via


IRTCClientPresence2::EnumerateGroups (Windows CE 5.0)

Send Feedback

This method retrieves an enumeration of the groups available on this client.

If there are no groups on the client, the method retrieves an empty enumeration.

This method is intended for C and C++ applications.

HRESULT EnumerateGroups( IRTCEnumGroups**ppEnum );

Parameters

  • ppEnum
    Pointer to the IRTCEnumGroups interface on an enumeration object containing an IRTCBuddyGroup pointer for each group on this client.

    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 additional possible return values.

Value Meaning
E_FAIL There are no groups.
E_OUTOFMEMORY Insufficient memory to perform this operation.
E_POINTER The ppEnum 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

IRTCClientPresence2 | IRTCBuddyGroup | IRTCEnumGroups | IRTCClientPresence2::Groups

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.