Fix IoIsWdmVersionAvailable() to confirm we're compatible with Win2k (someone forgot 0x before 10) and also added brief comments on which version corresponds to what.
Modified: trunk/reactos/ntoskrnl/io/iomgr.c
--- trunk/reactos/ntoskrnl/io/iomgr.c 2005-11-16 17:34:50 UTC (rev 19270) +++ trunk/reactos/ntoskrnl/io/iomgr.c 2005-11-16 20:38:31 UTC (rev 19271) @@ -483,7 +483,14 @@
IoIsWdmVersionAvailable(IN UCHAR MajorVersion, IN UCHAR MinorVersion) {
- if (MajorVersion <= 1 && MinorVersion <= 10)
+ /* MinorVersion = 0x20 : WinXP
+ 0x10 : Win2k
+ 0x5 : WinMe
+ <0x5 : Win98
+
+ We report Win2k now
+ */
+ if (MajorVersion <= 1 && MinorVersion <= 0x10)
return TRUE; return FALSE; }