mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 15:50:29 +08:00
- Introduce GetNTDDIVersion() to get NTDDI version at runtime for apitests. - Introduce GetMajorNTVersion() and GetMinorNTVersion() macros and use them for GetNTVersion() - Introduce GENERATE_NTDDI() macro to construct NTDDI values from major, minor, service pack, and subversion values. - Introduce NTDDI_MIN and NTDDI_MAX macros for tests that use NTDDI ranges. Note: the build number in KUSER_SHARED_DATA is only populated on Windows 10 RTM and later. On older Windows versions, this field is reserved and is usually 0. For this reason, I chose not to expose it as a macro.