mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 21:11:54 +00:00
[REACTOS] Explicitly link against pseh & include pseh headers in a few places
This commit is contained in:
parent
37bc01f42b
commit
e470b58376
50 changed files with 103 additions and 23 deletions
|
@ -20,6 +20,8 @@
|
|||
#include <imagehlp.h>
|
||||
#include <mmddk.h>
|
||||
|
||||
#include <pseh/pseh2.h>
|
||||
|
||||
/* Compatibility with the MS defines */
|
||||
|
||||
#ifndef FACILITY_VISUALCPP
|
||||
|
@ -198,7 +200,7 @@ FARPROC WINAPI DliHook(unsigned dliNotify, PDelayLoadInfo pdli)
|
|||
g_VersionDll = LoadLibraryA("version.dll");
|
||||
return (FARPROC)1;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else if (dliNotify == dliNotePreGetProcAddress)
|
||||
{
|
||||
|
@ -482,7 +484,7 @@ START_TEST(delayimp)
|
|||
ok(err == MMSYSERR_INVALHANDLE, "Expected err to be MMSYSERR_INVALHANDLE, was 0x%lx\n", err);
|
||||
CheckDliDone();
|
||||
ok(g_BreakFunctionName == false, "Expected the functionname to be changed\n");
|
||||
|
||||
|
||||
/* Make the LoadLib fail, manually load the library in the Failure Hook,
|
||||
Respond to the dliNotePreGetProcAddress with an alternate function address */
|
||||
SetExpectedDli(g_sfc_key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue