1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

krnl386.exe: Use the official definitions for exception flags.

This commit is contained in:
Alexandre Julliard 2024-02-28 16:23:36 +01:00
parent 0698f732af
commit 9c5df8004d

View file

@ -142,7 +142,7 @@ static BOOL fix_selector( CONTEXT *context )
static DWORD call16_handler( EXCEPTION_RECORD *record, EXCEPTION_REGISTRATION_RECORD *frame,
CONTEXT *context, EXCEPTION_REGISTRATION_RECORD **pdispatcher )
{
if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND))
if (record->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND))
{
/* unwinding: restore the stack pointer in the TEB, and leave the Win16 mutex */
STACK32FRAME *frame32 = CONTAINING_RECORD(frame, STACK32FRAME, frame);