Changeset 76073 in vbox for trunk/include/iprt
- Timestamp:
- Dec 8, 2018 7:55:23 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/system.h
r71295 r76073 268 268 RTDECL(uint32_t) RTSystemGetNtBuildNo(void); 269 269 270 /** Makes an NT version for comparison with RTSystemGetNtVersion(). */ 271 # define RTSYSTEM_MAKE_NT_VERSION(a_uMajor, a_uMinor, a_uBuild) \ 272 ( ((uint64_t)(a_uMajor) << 52) | ((uint64_t)((a_uMinor) & 0xfffU) << 40) | ((uint32_t)(a_uBuild)) ) 273 274 /** 275 * Get the Windows NT version number. 276 * 277 * @returns Version formatted using RTSYSTEM_MAKE_NT_VERSION(). 278 * 279 * @remarks Windows NT only. Requires IPRT to be initialized. 280 */ 281 RTDECL(uint32_t) RTSystemGetNtVersion(void); 282 270 283 #endif /* RT_OS_WINDOWS */ 271 284
Note:
See TracChangeset
for help on using the changeset viewer.