[NTDLL_WINETEST] Fix failing tests on Windows Vista

This commit is contained in:
Timo Kreuzer
2026-01-05 15:40:58 +02:00
parent fc78efb162
commit 5be29348db
8 changed files with 109 additions and 13 deletions

View File

@@ -1016,6 +1016,7 @@ extern void winetest_end_nocount(void);
#define GetMajorNTVersion() (*(ULONG*)(KUSER_SHARED_DATA_UMPTR + 0x026C))
#define GetMinorNTVersion() (*(ULONG*)(KUSER_SHARED_DATA_UMPTR + 0x0270))
#define GetNTVersion() ((GetMajorNTVersion() << 8) | GetMinorNTVersion())
#define __REACTOS__WinVer_lt(Ver) ((GetNTVersion() < (Ver)))
#ifdef STANDALONE