Share via


IRTCClientProvisioning::get_Profiles

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

HRESULT get_Profiles(IRTCCollection**ppCollection);

Parameters

  • ppCollection
    [out] Pointer to the IRTCCollection interface on a collection object containing an IRTCProfile pointer for each profile enabled on the Client. This call adds a reference to the collection 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, IRTCCollection, IRTCClientProvisioning::EnumerateProfiles, IRTCProfile