Share via


IRTCClientProvisioning::EnumerateProfiles

The EnumerateProfiles method returns an enumeration of the profiles that are enabled on this Client. If no profiles are enabled on this Client, an empty enumeration is returned. This method is intended for C and C++ applications. Visual Basic applications should use the get_Profiles method.

HRESULT EnumerateProfiles(IRTCEnumProfiles**ppEnum);

Parameters

  • ppEnum
    [out] Pointer to the IRTCEnumProfiles interface on an enumeration object containing an IRTCProfile pointer for each profile enabled on this Client. This call adds a reference to the enumeration object, which the caller is responsible for releasing.

Return Values

RTC methods may return an RTC_E_ constant. The RTC_E_PROFILE_ constants can all be returned from this method.

Value Meaning
RTC_E_CLIENT_NOT_INITIALIZED The client is not initialized.

Requirements

Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClientProvisioning is defined as B9F5CF06-65B9-4a80-A0E6-73CAE3EF3822.

See Also

IRTCClientProvisioning, IRTCClientProvisioning::get_Profiles, IRTCEnumProfiles, IRTCProfile