Share via


IRTCProfile::get_Key

The get_Key property returns the key that uniquely identifies this profile.

HRESULT get_Key(BSTR*pbstrKey);

Parameters

  • pbstrKey
    [out] Pointer to a BSTR containing the key. The caller is responsible for freeing this memory with SysFreeString.

Return Values

RTC methods may return an RTC_E_ constant.

Remarks

The key uniquely identifies a profile. If the profile is enabled with the same key value as an existing profile, the existing profile is replaced with the one entered in IRTCClientProvisioning::EnableProfile.

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, IRTCClientProvisioning::EnableProfile