Share via


IRTCProfile::Key (Windows Embedded CE 6.0)

1/6/2010

This method gets the key that uniquely identifies this profile.

Syntax

HRESULT get_Key(
  BSTR* pbstrKey
);

Parameters

  • pbstrKey
    [out] Pointer to a BSTR that will be filled with the key, or an empty string if there is no entry. The method is responsible for allocating the buffer. The caller is responsible for releasing this memory with SysFreeString.

Return Value

This method can 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

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IRTCProfile
IRTCClientProvisioning::EnableProfile

Other Resources

SysFreeString