en:docs:win16:api:kernel:getversion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:docs:win16:api:kernel:getversion [2022/12/23 12:31] – created prokusheven:docs:win16:api:kernel:getversion [2022/12/23 12:39] (current) prokushev
Line 17: Line 17:
 ===== Return Value ===== ===== Return Value =====
  
-  * rc ([[USHORT]]) - Windows version +  * rc ([[WORD]]) - Windows version for Windows 1.x, 2.x !!!check this!!! 
-  +  * rc ([[DWORD]]) - Windows version for Windows 3.x+ !!!check this!!! 
 Return value description is: Return value description is:
  
-  * High Byte is a Minor Windows Version +  * High Byte of Low DWord is a Minor Windows Version 
-  * Low Byte is a Major Version+  * Low Byte of Low DWord is a Major Version 
 +  * High Byte of High Word is a Major DOS version 
 +  * Low Byte of High Word is a Minor DOS version
  
 ===== Bindings ===== ===== Bindings =====
Line 42: Line 45:
  
   * Actual return value is a Double Word (not documented). High Word is a DOS (or other host platform) version.   * Actual return value is a Double Word (not documented). High Word is a DOS (or other host platform) version.
-  * Hight Word was extended in versions later versions of Windows.+  * High Word was extended in versions later versions of Windows.
  
 {{page>en:templates:win16}} {{page>en:templates:win16}}