Changeset 78939 in vbox
- Timestamp:
- Jun 3, 2019 3:03:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/system.h
r76585 r78939 274 274 # define RTSYSTEM_MAKE_NT_VERSION(a_uMajor, a_uMinor, a_uBuild) \ 275 275 ( ((uint64_t)(a_uMajor) << 52) | ((uint64_t)((a_uMinor) & 0xfffU) << 40) | ((uint32_t)(a_uBuild)) ) 276 /** Extracts the major version number from a RTSYSTEM_MAKE_NT_VERSION value. */ 277 # define RTSYSTEM_NT_VERSION_GET_MAJOR(a_uNtVersion) ((uint32_t)((a_uNtVersion) >> 52)) 278 /** Extracts the minor version number from a RTSYSTEM_MAKE_NT_VERSION value. */ 279 # define RTSYSTEM_NT_VERSION_GET_MINOR(a_uNtVersion) ((uint32_t)((a_uNtVersion) >> 40) & UINT32_C(0xfff)) 280 /** Extracts the build number from a RTSYSTEM_MAKE_NT_VERSION value. */ 281 # define RTSYSTEM_NT_VERSION_GET_BUILD(a_uNtVersion) ((uint32_t)(a_uNtVersion)) 276 282 277 283 /**
Note:
See TracChangeset
for help on using the changeset viewer.