CfGetPlatformInfo function (cfapi.h)

Gets the platform version information.


HRESULT CfGetPlatformInfo(
  [out] CF_PLATFORM_INFO *PlatformVersion


[out] PlatformVersion

The platform version information. See CF_PLATFORM_INFO for more details.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.


Minimum supported client Windows 10, version 1709 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header cfapi.h
Library CldApi.lib
DLL CldApi.dll