forked from Mirrors/wine-wine
kernel: Fix CreateToolhelp32Snapshot tests on win2k.
parent
a5b1581e48
commit
72a6d97679
|
@ -244,7 +244,7 @@ static void test_module(DWORD pid, const char* expected[], unsigned num_expected
|
||||||
me.th32ProcessID, me.modBaseAddr, me.modBaseSize, me.szExePath, me.szModule);
|
me.th32ProcessID, me.modBaseAddr, me.modBaseSize, me.szExePath, me.szModule);
|
||||||
ok(me.th32ProcessID == pid, "wrong returned process id");
|
ok(me.th32ProcessID == pid, "wrong returned process id");
|
||||||
for (i = 0; i < num_expected; i++)
|
for (i = 0; i < num_expected; i++)
|
||||||
if (!strcmp(expected[i], me.szModule)) found[i]++;
|
if (!lstrcmpi(expected[i], me.szModule)) found[i]++;
|
||||||
num++;
|
num++;
|
||||||
} while (pModule32Next( hSnapshot, &me ));
|
} while (pModule32Next( hSnapshot, &me ));
|
||||||
}
|
}
|
||||||
|
@ -262,7 +262,7 @@ static void test_module(DWORD pid, const char* expected[], unsigned num_expected
|
||||||
trace("PID=%lx base=%p size=%lx %s %s\n",
|
trace("PID=%lx base=%p size=%lx %s %s\n",
|
||||||
me.th32ProcessID, me.modBaseAddr, me.modBaseSize, me.szExePath, me.szModule);
|
me.th32ProcessID, me.modBaseAddr, me.modBaseSize, me.szExePath, me.szModule);
|
||||||
for (i = 0; i < num_expected; i++)
|
for (i = 0; i < num_expected; i++)
|
||||||
if (!strcmp(expected[i], me.szModule)) found[i]++;
|
if (!lstrcmpi(expected[i], me.szModule)) found[i]++;
|
||||||
num--;
|
num--;
|
||||||
} while (pModule32Next( hSnapshot, &me ));
|
} while (pModule32Next( hSnapshot, &me ));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue