IRTCProfile::Key

This method gets the key that uniquely identifies this profile.

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCClientProvisioning::EnableProfile | IRTCProfile | SysFreeString

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.