kernelbase: Use the official definitions for exception flags.
This commit is contained in:
parent
97259a3049
commit
0698f732af
2 changed files with 2 additions and 2 deletions
|
@ -363,7 +363,7 @@ void WINAPI DECLSPEC_HOTPATCH RaiseException( DWORD code, DWORD flags, DWORD cou
|
|||
EXCEPTION_RECORD record;
|
||||
|
||||
record.ExceptionCode = code;
|
||||
record.ExceptionFlags = flags & EH_NONCONTINUABLE;
|
||||
record.ExceptionFlags = flags & EXCEPTION_NONCONTINUABLE;
|
||||
record.ExceptionRecord = NULL;
|
||||
record.ExceptionAddress = RaiseException;
|
||||
if (count && args)
|
||||
|
|
|
@ -209,7 +209,7 @@ FARPROC WINAPI DECLSPEC_HOTPATCH DelayLoadFailureHook( LPCSTR name, LPCSTR funct
|
|||
ERR( "failed to delay load %s.%u\n", name, LOWORD(function) );
|
||||
args[0] = (ULONG_PTR)name;
|
||||
args[1] = (ULONG_PTR)function;
|
||||
RaiseException( EXCEPTION_WINE_STUB, EH_NONCONTINUABLE, 2, args );
|
||||
RaiseException( EXCEPTION_WINE_STUB, EXCEPTION_NONCONTINUABLE, 2, args );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue