Commit e7c40e29 authored by Ivan Leo Puoti's avatar Ivan Leo Puoti Committed by Alexandre Julliard

Fix dll version detection.

parent ce335add
......@@ -337,9 +337,11 @@ static DWORD VERSION_GetSystemDLLVersion( HMODULE hmod )
MESSAGE("WARNING: very old native DLL (NT 3.x) used, might cause instability.\n");
return NT351;
case 4: return NT40;
case 5: return NT2K;
case 6: return WINXP;
case 7: return WIN2K3; /* FIXME: Not sure, should be verified with a Win2K3 dll */
case 5: switch (RtlImageNtHeader(hmod)->OptionalHeader.MinorOperatingSystemVersion){
case 0: return NT2K;
case 1: return WINXP;
case 2: return WIN2K3;
}
default:
FIXME("Unknown DLL OS version, please report !!\n");
return WIN2K3;
......
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