Share via


IRTCProfile::ClientCurVer (Windows Embedded CE 6.0)

1/6/2010

This method gets the current version of the client for this profile. If the client version is lower than this value, the profile can upgrade by visiting the Universal Resource Identifier (URI). The URI is retrieved using IRTCProfile::ClientUpdateURI.

Syntax

HRESULT get_ClientCurVer(
  BSTR* pbstrCurVer
);

Parameters

  • pbstrCurVer
    [out] Pointer to a BSTR that will be filled with the current version of the client, 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. The following table shows additional information about a specific return value.

Value Description

RTC_E_NOT_EXIST

The current client version is an optional field in the profile. The field is not present in the profile.

Requirements

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

See Also

Reference

IRTCProfile

Other Resources

SysFreeString