Bindings: C, MASM
This call returns the OS/2 version number.
DosGetVersion (VersionWord)
VersionWord (PUSHORT) - output Address of the OS/2 version number. The version is stored as two bytes, with the minor version in the first byte and major version in the second byte.
rc (USHORT) - return Return code description is:
0 NO_ERROR