IRTCProfile::get_ProviderURI

The get_ProviderURI property returns the provider URI for the profile.

HRESULT get_ProviderURI(RTC_PROVIDER_URIenURI,
BSTR*pbstrURI);

Parameters

  • enURI
    [in] An RTC_PROVIDER_URI enumeration that specifies the type of URI returned.
  • pbstrURI
    [out] Pointer to a BSTR containing the URI of the provider. The caller is responsible for freeing this memory with SysFreeString.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
RTC_E_NOT_EXIST No provider URI.

Remarks

This is an optional field in the profile. If the field is not present in the profile, the method will return E_FAIL.

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_IRTCProfile is defined as d07eca9e-4062-4dd4-9e7d-722a49ba7303.

See Also

IRTCProfile, RTC_PROVIDER_URI