mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
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.
svn path=/trunk/; revision=19271
This commit is contained in:
@@ -483,7 +483,14 @@ BOOLEAN STDCALL
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user