You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
[[ OSVersion ]] Add functions to (un)pack system OS version
This patch adds functions to set & access the system OS version number:
MCOSVersionMake(pMajor, pMinor, pBugfix)
Pack the given version number components into a single 32-bit value.
MCOSVersionGetMajor(pVersion)
Unpack the major version number component from the packed value
MCOSVersionGetMinor(pVersion)
Unpack the minor version number component from the packed value
MCOSVersionGetBugfix(pVersion)
Unpack the bugfix version number component from the packed value.
Existing comparisons of the global MCmajorosversion have been updated
to construct a packed version number using MCOSVersionMake to compare
with instead of using fixed hexadecimal values.
0 commit comments