mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:01:48 +00:00
[APPSHIM_APITEST] Fix test for x86 Vista and 7 (#8042)
On x86 builds, accept the sentinel hmodule instead of the 111 hmodule and 0 hmodule for Vista and 7.
This commit is contained in:
parent
7015c76c63
commit
b627a42898
1 changed files with 8 additions and 0 deletions
|
@ -270,6 +270,14 @@ START_TEST(ignoreloadlib)
|
|||
dwErrorMode = GetErrorMode();
|
||||
trace("Error mode: 0x%x\n", dwErrorMode);
|
||||
|
||||
#ifdef _M_IX86
|
||||
if (g_WinVersion > _WIN32_WINNT_WS03 && g_WinVersion < _WIN32_WINNT_WIN8)
|
||||
{
|
||||
g_h111 = g_hSentinelModule;
|
||||
g_h0 = g_hSentinelModule;
|
||||
}
|
||||
#endif
|
||||
|
||||
for (n = 0; n < num_shims; ++n)
|
||||
{
|
||||
ok_str(hook[n].LibraryName, "KERNEL32.DLL");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue