Commit a29d8223 authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Better detect a dll's Windows version.

parent 71e322b2
......@@ -471,9 +471,19 @@ static DWORD VERSION_GetLinkedDllVersion(void)
{
case 90 : return WINME;
case 10 : return WIN98;
case 0 : return WIN95; /* FIXME: We should check for NT40 here */
case 0 :
switch(ophd->MajorImageVersion)
{
case 4 : return NT40;
case 0 : return WIN95;
}
break;
}
break;
case 1:
if(ophd->MinorOperatingSystemVersion == 0)
return WIN95;
break;
}
FIXME("Unknown EXE OS version %d.%d, please report !!\n",
ophd->MajorOperatingSystemVersion, ophd->MinorOperatingSystemVersion );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment