IAPI::GetWindowsVersion

property GetWindowsVersion.

Retrieves Windows OS version.

 

HRESULT GetWindowsVersion(
  long *pVal
);

Parameters

pVal

[out, retval]

. The returned value can be as following:

90:Windows 9x,

2000:Windows 2000,

2002:Windows XP,

40:Windows NT 4.x,

2003:Windows Server 2003,

2006:Windows Vista,

7:Windows 7,

2008:Windows Server 2008

8:Windows 8

81:Windows 8.1

2012:Windows Server 2012

10:Windows 10

2016:Windows Server 2016

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

See Also

IAPI