Partager via


IRTCProfile::ClientCurVer

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.

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 Values

This method can return an RTC_E_ constant. The following table shows the possible return values.

Value Description
E_FAIL No version was found.

Remarks

The current client version is an optional field in the profile. If the field is not present in the profile, the method will return E_FAIL.

Requirements

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

See Also

IRTCProfile | SysFreeString

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.