IRTCProfile::get_ClientCurVer

The get_ClientCurVer property returns the current version of the Client for this profile. If the Client is lower than this version, it may upgrade by visiting the URI returned by get_ClientUpdateURI.

HRESULT get_ClientCurVer(BSTR*pbstrCurVer);

Parameters

  • pbstrCurVer
    [out] Pointer to a BSTR containing the current version of the Client. The caller is responsible for freeing this memory with SysFreeString.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
RTC_E_NOT_EXIST No version.

Remarks

This is an optional field in the profile. If the field is not present in the profile, the method will return E_FAIL.

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