winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
February 2024
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
1 participants
716 discussions
Start a n
N
ew thread
Alexandre Julliard : include: Remove the private definitions of the exception flags.
by Alexandre Julliard
29 Feb '24
29 Feb '24
Module: wine Branch: master Commit: c67053bcce84d08731ba8363047d8bf2b643f865 URL:
https://gitlab.winehq.org/wine/wine/-/commit/c67053bcce84d08731ba8363047d8b…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Feb 28 16:27:03 2024 +0100 include: Remove the private definitions of the exception flags. --- include/winternl.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/winternl.h b/include/winternl.h index cccbc149480..057ffcb87d8 100644 --- a/include/winternl.h +++ b/include/winternl.h @@ -3866,14 +3866,6 @@ typedef struct _RTL_PROCESS_MODULE_INFORMATION_EX #define THREAD_CREATE_FLAGS_ACCESS_CHECK_IN_TARGET 0x00000020 #define THREAD_CREATE_FLAGS_INITIAL_THREAD 0x00000080 -#define EH_NONCONTINUABLE 0x01 -#define EH_UNWINDING 0x02 -#define EH_EXIT_UNWIND 0x04 -#define EH_STACK_INVALID 0x08 -#define EH_NESTED_CALL 0x10 -#define EH_TARGET_UNWIND 0x20 -#define EH_COLLIDED_UNWIND 0x40 - #ifdef __WINESRC__ /* Wine-specific exceptions codes */
1
0
0
0
Alexandre Julliard : widl: Use the official definitions for exception flags.
by Alexandre Julliard
29 Feb '24
29 Feb '24
Module: wine Branch: master Commit: 64b2e44697b2eb70c671f43602fdd2f184841601 URL:
https://gitlab.winehq.org/wine/wine/-/commit/64b2e44697b2eb70c671f43602fdd2…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Feb 28 16:25:50 2024 +0100 widl: Use the official definitions for exception flags. --- tools/widl/typegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 195ef49f102..7abc9905069 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -5147,9 +5147,9 @@ void write_exceptions( FILE *file ) fprintf( file, "{\n"); fprintf( file, " struct __exception_frame *exc_frame = (struct __exception_frame *)frame;\n"); fprintf( file, "\n"); - fprintf( file, " if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND | EH_NESTED_CALL))\n"); + fprintf( file, " if (record->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND | EXCEPTION_NESTED_CALL))\n"); fprintf( file, " {\n" ); - fprintf( file, " if (exc_frame->finally_level && (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND)))\n"); + fprintf( file, " if (exc_frame->finally_level && (record->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND)))\n"); fprintf( file, " {\n" ); fprintf( file, " exc_frame->abnormal_termination = 1;\n"); fprintf( file, " exc_frame->finally( exc_frame );\n");
1
0
0
0
Alexandre Julliard : winedbg: Use the official definitions for exception flags.
by Alexandre Julliard
29 Feb '24
29 Feb '24
Module: wine Branch: master Commit: b0a7439b30d35cdbb01603546917abcd1f95a4a8 URL:
https://gitlab.winehq.org/wine/wine/-/commit/b0a7439b30d35cdbb01603546917ab…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Feb 28 16:25:34 2024 +0100 winedbg: Use the official definitions for exception flags. --- programs/winedbg/info.c | 2 +- programs/winedbg/tgt_active.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/winedbg/info.c b/programs/winedbg/info.c index 5e724afc0ed..48b783aeb3e 100644 --- a/programs/winedbg/info.c +++ b/programs/winedbg/info.c @@ -1095,7 +1095,7 @@ void info_win32_exception(void) dbg_printf("0x%08lx", rec->ExceptionCode); break; } - if (rec->ExceptionFlags & EH_STACK_INVALID) + if (rec->ExceptionFlags & EXCEPTION_STACK_INVALID) dbg_printf(", invalid program stack"); switch (addr.Mode) diff --git a/programs/winedbg/tgt_active.c b/programs/winedbg/tgt_active.c index 17578857133..9587ef450d2 100644 --- a/programs/winedbg/tgt_active.c +++ b/programs/winedbg/tgt_active.c @@ -275,7 +275,7 @@ static DWORD dbg_handle_exception(const EXCEPTION_RECORD* rec, BOOL first_chance } if (first_chance && !is_debug && !DBG_IVAR(BreakOnFirstChance) && - !(rec->ExceptionFlags & EH_STACK_INVALID)) + !(rec->ExceptionFlags & EXCEPTION_STACK_INVALID)) { /* pass exception to program except for debug exceptions */ return DBG_EXCEPTION_NOT_HANDLED;
1
0
0
0
Alexandre Julliard : wow64: Use the official definitions for exception flags.
by Alexandre Julliard
29 Feb '24
29 Feb '24
Module: wine Branch: master Commit: 18543523e863eddfac753e429587f18c651a77f7 URL:
https://gitlab.winehq.org/wine/wine/-/commit/18543523e863eddfac753e429587f1…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Feb 28 16:25:11 2024 +0100 wow64: Use the official definitions for exception flags. --- dlls/wow64/syscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wow64/syscall.c b/dlls/wow64/syscall.c index 9f1f324ce35..1b52db370a3 100644 --- a/dlls/wow64/syscall.c +++ b/dlls/wow64/syscall.c @@ -127,7 +127,7 @@ void __cdecl __wine_spec_unimplemented_stub( const char *module, const char *fun EXCEPTION_RECORD record; record.ExceptionCode = EXCEPTION_WINE_STUB; - record.ExceptionFlags = EH_NONCONTINUABLE; + record.ExceptionFlags = EXCEPTION_NONCONTINUABLE; record.ExceptionRecord = NULL; record.ExceptionAddress = __wine_spec_unimplemented_stub; record.NumberParameters = 2; @@ -1410,7 +1410,7 @@ NTSTATUS WINAPI Wow64RaiseException( int code, EXCEPTION_RECORD *rec ) break; case 0x29: /* __fastfail */ int_rec.ExceptionCode = STATUS_STACK_BUFFER_OVERRUN; - int_rec.ExceptionFlags = EH_NONCONTINUABLE; + int_rec.ExceptionFlags = EXCEPTION_NONCONTINUABLE; int_rec.NumberParameters = 1; int_rec.ExceptionInformation[0] = ctx32.i386.Ecx; first_chance = FALSE;
1
0
0
0
Alexandre Julliard : winecrt0: Use the official definitions for exception flags.
by Alexandre Julliard
29 Feb '24
29 Feb '24
Module: wine Branch: master Commit: 8605708e025dc1877c2b6512b612917fa247523d URL:
https://gitlab.winehq.org/wine/wine/-/commit/8605708e025dc1877c2b6512b61291…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Feb 28 16:24:53 2024 +0100 winecrt0: Use the official definitions for exception flags. --- dlls/winecrt0/exception.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/winecrt0/exception.c b/dlls/winecrt0/exception.c index 3187189dd1c..58cf91172ac 100644 --- a/dlls/winecrt0/exception.c +++ b/dlls/winecrt0/exception.c @@ -100,7 +100,7 @@ DWORD __cdecl __wine_exception_handler( EXCEPTION_RECORD *record, __WINE_FRAME *wine_frame = (__WINE_FRAME *)frame; EXCEPTION_POINTERS ptrs; - if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND | EH_NESTED_CALL)) + if (record->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND | EXCEPTION_NESTED_CALL)) return ExceptionContinueSearch; ptrs.ExceptionRecord = record; @@ -125,7 +125,7 @@ DWORD __cdecl __wine_exception_ctx_handler( EXCEPTION_RECORD *record, __WINE_FRAME *wine_frame = (__WINE_FRAME *)frame; EXCEPTION_POINTERS ptrs; - if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND | EH_NESTED_CALL)) + if (record->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND | EXCEPTION_NESTED_CALL)) return ExceptionContinueSearch; ptrs.ExceptionRecord = record; @@ -147,7 +147,7 @@ DWORD __cdecl __wine_exception_handler_page_fault( EXCEPTION_RECORD *record, CONTEXT *context, EXCEPTION_REGISTRATION_RECORD **pdispatcher ) { - if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND | EH_NESTED_CALL)) + if (record->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND | EXCEPTION_NESTED_CALL)) return ExceptionContinueSearch; if (record->ExceptionCode != STATUS_ACCESS_VIOLATION) return ExceptionContinueSearch; @@ -159,7 +159,7 @@ DWORD __cdecl __wine_exception_handler_all( EXCEPTION_RECORD *record, CONTEXT *context, EXCEPTION_REGISTRATION_RECORD **pdispatcher ) { - if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND | EH_NESTED_CALL)) + if (record->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND | EXCEPTION_NESTED_CALL)) return ExceptionContinueSearch; unwind_frame( record, frame ); } @@ -169,7 +169,7 @@ DWORD __cdecl __wine_finally_handler( EXCEPTION_RECORD *record, CONTEXT *context, EXCEPTION_REGISTRATION_RECORD **pdispatcher ) { - if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND)) + if (record->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND)) { __WINE_FRAME *wine_frame = (__WINE_FRAME *)frame; wine_frame->u.finally_func( FALSE ); @@ -182,7 +182,7 @@ DWORD __cdecl __wine_finally_ctx_handler( EXCEPTION_RECORD *record, CONTEXT *context, EXCEPTION_REGISTRATION_RECORD **pdispatcher ) { - if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND)) + if (record->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND)) { __WINE_FRAME *wine_frame = (__WINE_FRAME *)frame; wine_frame->u.finally_func_ctx( FALSE, wine_frame->ctx );
1
0
0
0
Alexandre Julliard : win32u: Use the official definitions for exception flags.
by Alexandre Julliard
29 Feb '24
29 Feb '24
Module: wine Branch: master Commit: 3282eda5255cdd4aff7aae8fa277af2ca800c510 URL:
https://gitlab.winehq.org/wine/wine/-/commit/3282eda5255cdd4aff7aae8fa277af…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Feb 28 16:24:37 2024 +0100 win32u: Use the official definitions for exception flags. --- dlls/win32u/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/win32u/main.c b/dlls/win32u/main.c index e06386da693..ace2c9d0cd3 100644 --- a/dlls/win32u/main.c +++ b/dlls/win32u/main.c @@ -2187,7 +2187,7 @@ void __cdecl __wine_spec_unimplemented_stub( const char *module, const char *fun EXCEPTION_RECORD record; record.ExceptionCode = EXCEPTION_WINE_STUB; - record.ExceptionFlags = EH_NONCONTINUABLE; + record.ExceptionFlags = EXCEPTION_NONCONTINUABLE; record.ExceptionRecord = NULL; record.ExceptionAddress = __wine_spec_unimplemented_stub; record.NumberParameters = 2;
1
0
0
0
Alexandre Julliard : msvcrt: Use the official definitions for exception flags.
by Alexandre Julliard
29 Feb '24
29 Feb '24
Module: wine Branch: master Commit: 8739aef4ff31c6cf4e8a625cf430e3d0ac6334d5 URL:
https://gitlab.winehq.org/wine/wine/-/commit/8739aef4ff31c6cf4e8a625cf430e3…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Feb 28 16:24:17 2024 +0100 msvcrt: Use the official definitions for exception flags. --- dlls/msvcrt/cpp.c | 4 ++-- dlls/msvcrt/except_i386.c | 14 +++++++------- dlls/msvcrt/except_x86_64.c | 4 ++-- dlls/msvcrt/exception_ptr.c | 6 +++--- dlls/msvcrt/handler4.c | 6 +++--- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/dlls/msvcrt/cpp.c b/dlls/msvcrt/cpp.c index ce89f5fb0b4..7e59aaf78c6 100644 --- a/dlls/msvcrt/cpp.c +++ b/dlls/msvcrt/cpp.c @@ -1024,7 +1024,7 @@ void WINAPI _CxxThrowException( void *object, const cxx_exception_type *type ) args[0] = CXX_FRAME_MAGIC_VC6; args[1] = (ULONG_PTR)object; args[2] = (ULONG_PTR)type; - RaiseException( CXX_EXCEPTION, EH_NONCONTINUABLE, 3, args ); + RaiseException( CXX_EXCEPTION, EXCEPTION_NONCONTINUABLE, 3, args ); } #else void WINAPI _CxxThrowException( void *object, const cxx_exception_type *type ) @@ -1035,7 +1035,7 @@ void WINAPI _CxxThrowException( void *object, const cxx_exception_type *type ) args[1] = (ULONG_PTR)object; args[2] = (ULONG_PTR)type; RtlPcToFileHeader( (void*)type, (void**)&args[3]); - RaiseException( CXX_EXCEPTION, EH_NONCONTINUABLE, 4, args ); + RaiseException( CXX_EXCEPTION, EXCEPTION_NONCONTINUABLE, 4, args ); } #endif diff --git a/dlls/msvcrt/except_i386.c b/dlls/msvcrt/except_i386.c index a870b26edaa..45e6558fcf1 100644 --- a/dlls/msvcrt/except_i386.c +++ b/dlls/msvcrt/except_i386.c @@ -332,7 +332,7 @@ static DWORD catch_function_nested_handler( EXCEPTION_RECORD *rec, EXCEPTION_REG { catch_func_nested_frame *nested_frame = (catch_func_nested_frame *)frame; - if (rec->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND)) + if (rec->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND)) { __CxxUnregisterExceptionObject(&nested_frame->frame_info, FALSE); return ExceptionContinueSearch; @@ -351,7 +351,7 @@ static DWORD catch_function_nested_handler( EXCEPTION_RECORD *rec, EXCEPTION_REG { /* exception was rethrown */ *rec = *prev_rec; - rec->ExceptionFlags &= ~EH_UNWINDING; + rec->ExceptionFlags &= ~EXCEPTION_UNWINDING; if(TRACE_ON(seh)) { TRACE("detect rethrow: exception code: %lx\n", rec->ExceptionCode); if(rec->ExceptionCode == CXX_EXCEPTION) @@ -569,7 +569,7 @@ DWORD CDECL cxx_frame_handler( PEXCEPTION_RECORD rec, cxx_exception_frame* frame (rec->ExceptionCode != CXX_EXCEPTION)) return ExceptionContinueSearch; /* handle only c++ exceptions */ - if (rec->ExceptionFlags & (EH_UNWINDING|EH_EXIT_UNWIND)) + if (rec->ExceptionFlags & (EXCEPTION_UNWINDING|EXCEPTION_EXIT_UNWIND)) { if (descr->unwind_count && !nested_frame) cxx_local_unwind( frame, descr, -1 ); return ExceptionContinueSearch; @@ -584,7 +584,7 @@ DWORD CDECL cxx_frame_handler( PEXCEPTION_RECORD rec, cxx_exception_frame* frame rec->ExceptionInformation[1] == 0 && rec->ExceptionInformation[2] == 0) { *rec = *msvcrt_get_thread_data()->exc_record; - rec->ExceptionFlags &= ~EH_UNWINDING; + rec->ExceptionFlags &= ~EXCEPTION_UNWINDING; if(TRACE_ON(seh)) { TRACE("detect rethrow: exception code: %lx\n", rec->ExceptionCode); if(rec->ExceptionCode == CXX_EXCEPTION) @@ -759,7 +759,7 @@ static DWORD MSVCRT_nested_handler(PEXCEPTION_RECORD rec, PCONTEXT context, EXCEPTION_REGISTRATION_RECORD** dispatch) { - if (!(rec->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND))) + if (!(rec->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND))) return ExceptionContinueSearch; *dispatch = frame; return ExceptionCollidedUnwind; @@ -874,7 +874,7 @@ int CDECL _except_handler3(PEXCEPTION_RECORD rec, __asm__ __volatile__ ("cld"); - if (rec->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND)) + if (rec->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND)) { /* Unwinding the current frame */ msvcrt_local_unwind2(frame, TRYLEVEL_END, &frame->_ebp); @@ -945,7 +945,7 @@ int CDECL _except_handler4_common( ULONG *cookie, void (*check_cookie)(void), /* FIXME: no cookie validation yet */ - if (rec->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND)) + if (rec->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND)) { /* Unwinding the current frame */ msvcrt_local_unwind4( cookie, frame, -2, &frame->_ebp ); diff --git a/dlls/msvcrt/except_x86_64.c b/dlls/msvcrt/except_x86_64.c index 9b8db6d0d67..8b37e13cb77 100644 --- a/dlls/msvcrt/except_x86_64.c +++ b/dlls/msvcrt/except_x86_64.c @@ -564,9 +564,9 @@ static DWORD cxx_frame_handler(EXCEPTION_RECORD *rec, ULONG64 frame, } } - if (rec->ExceptionFlags & (EH_UNWINDING|EH_EXIT_UNWIND)) + if (rec->ExceptionFlags & (EXCEPTION_UNWINDING|EXCEPTION_EXIT_UNWIND)) { - if (rec->ExceptionFlags & EH_TARGET_UNWIND) + if (rec->ExceptionFlags & EXCEPTION_TARGET_UNWIND) cxx_local_unwind(orig_frame, dispatch, descr, cxx_is_consolidate(rec) ? rec->ExceptionInformation[3] : trylevel); else diff --git a/dlls/msvcrt/exception_ptr.c b/dlls/msvcrt/exception_ptr.c index bd341ac49a1..34c2bcdc4ea 100644 --- a/dlls/msvcrt/exception_ptr.c +++ b/dlls/msvcrt/exception_ptr.c @@ -169,7 +169,7 @@ void __cdecl __ExceptionPtrRethrow(const exception_ptr *ep) return; } - RaiseException(ep->rec->ExceptionCode, ep->rec->ExceptionFlags & (~EH_UNWINDING), + RaiseException(ep->rec->ExceptionCode, ep->rec->ExceptionFlags & ~EXCEPTION_UNWINDING, ep->rec->NumberParameters, ep->rec->ExceptionInformation); } @@ -306,7 +306,7 @@ void __cdecl __ExceptionPtrCopyException(exception_ptr *ep, memset(ep->rec, 0, sizeof(EXCEPTION_RECORD)); ep->rec->ExceptionCode = CXX_EXCEPTION; - ep->rec->ExceptionFlags = EH_NONCONTINUABLE; + ep->rec->ExceptionFlags = EXCEPTION_NONCONTINUABLE; ep->rec->NumberParameters = 3; ep->rec->ExceptionInformation[0] = CXX_FRAME_MAGIC_VC6; ep->rec->ExceptionInformation[2] = (ULONG_PTR)type; @@ -344,7 +344,7 @@ void __cdecl __ExceptionPtrCopyException(exception_ptr *ep, memset(ep->rec, 0, sizeof(EXCEPTION_RECORD)); ep->rec->ExceptionCode = CXX_EXCEPTION; - ep->rec->ExceptionFlags = EH_NONCONTINUABLE; + ep->rec->ExceptionFlags = EXCEPTION_NONCONTINUABLE; ep->rec->NumberParameters = 4; ep->rec->ExceptionInformation[0] = CXX_FRAME_MAGIC_VC6; ep->rec->ExceptionInformation[2] = (ULONG_PTR)type; diff --git a/dlls/msvcrt/handler4.c b/dlls/msvcrt/handler4.c index 40cb1a7c3b8..2e225b21458 100644 --- a/dlls/msvcrt/handler4.c +++ b/dlls/msvcrt/handler4.c @@ -736,12 +736,12 @@ static DWORD cxx_frame_handler4(EXCEPTION_RECORD *rec, ULONG64 frame, TRACE("setting orig_frame to %Ix\n", orig_frame); } - if (rec->ExceptionFlags & (EH_UNWINDING|EH_EXIT_UNWIND)) + if (rec->ExceptionFlags & (EXCEPTION_UNWINDING|EXCEPTION_EXIT_UNWIND)) { int last_level = -1; - if ((rec->ExceptionFlags & EH_TARGET_UNWIND) && cxx_is_consolidate(rec)) + if ((rec->ExceptionFlags & EXCEPTION_TARGET_UNWIND) && cxx_is_consolidate(rec)) last_level = rec->ExceptionInformation[3]; - else if ((rec->ExceptionFlags & EH_TARGET_UNWIND) && rec->ExceptionCode == STATUS_LONGJUMP) + else if ((rec->ExceptionFlags & EXCEPTION_TARGET_UNWIND) && rec->ExceptionCode == STATUS_LONGJUMP) last_level = ip_to_state4(rva_to_ptr(descr->ip_map, dispatch->ImageBase), descr->ip_count, dispatch, dispatch->TargetIp);
1
0
0
0
Alexandre Julliard : msvcp90: Use the official definitions for exception flags.
by Alexandre Julliard
29 Feb '24
29 Feb '24
Module: wine Branch: master Commit: 35ef1be8ef6fe2c4b1d7687250ddb5061adc8435 URL:
https://gitlab.winehq.org/wine/wine/-/commit/35ef1be8ef6fe2c4b1d7687250ddb5…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Feb 28 16:23:57 2024 +0100 msvcp90: Use the official definitions for exception flags. --- dlls/msvcp90/exception.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/msvcp90/exception.c b/dlls/msvcp90/exception.c index c881b37cd97..052172d2d09 100644 --- a/dlls/msvcp90/exception.c +++ b/dlls/msvcp90/exception.c @@ -1094,7 +1094,7 @@ static void exception_ptr_rethrow(const exception_ptr *ep) return; } - RaiseException(ep->rec->ExceptionCode, ep->rec->ExceptionFlags & (~EH_UNWINDING), + RaiseException(ep->rec->ExceptionCode, ep->rec->ExceptionFlags & ~EXCEPTION_UNWINDING, ep->rec->NumberParameters, ep->rec->ExceptionInformation); } @@ -1424,7 +1424,7 @@ void __cdecl __ExceptionPtrCopyException(exception_ptr *ep, memset(ep->rec, 0, sizeof(EXCEPTION_RECORD)); ep->rec->ExceptionCode = CXX_EXCEPTION; - ep->rec->ExceptionFlags = EH_NONCONTINUABLE; + ep->rec->ExceptionFlags = EXCEPTION_NONCONTINUABLE; ep->rec->NumberParameters = 3; ep->rec->ExceptionInformation[0] = CXX_FRAME_MAGIC_VC6; ep->rec->ExceptionInformation[2] = (ULONG_PTR)type; @@ -1462,7 +1462,7 @@ void __cdecl __ExceptionPtrCopyException(exception_ptr *ep, memset(ep->rec, 0, sizeof(EXCEPTION_RECORD)); ep->rec->ExceptionCode = CXX_EXCEPTION; - ep->rec->ExceptionFlags = EH_NONCONTINUABLE; + ep->rec->ExceptionFlags = EXCEPTION_NONCONTINUABLE; ep->rec->NumberParameters = 4; ep->rec->ExceptionInformation[0] = CXX_FRAME_MAGIC_VC6; ep->rec->ExceptionInformation[2] = (ULONG_PTR)type;
1
0
0
0
Alexandre Julliard : krnl386.exe: Use the official definitions for exception flags.
by Alexandre Julliard
29 Feb '24
29 Feb '24
Module: wine Branch: master Commit: 9c5df8004d3a4f1e4ecef3f9ab2393f561365587 URL:
https://gitlab.winehq.org/wine/wine/-/commit/9c5df8004d3a4f1e4ecef3f9ab2393…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Feb 28 16:23:36 2024 +0100 krnl386.exe: Use the official definitions for exception flags. --- dlls/krnl386.exe16/wowthunk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/krnl386.exe16/wowthunk.c b/dlls/krnl386.exe16/wowthunk.c index 22471d6d612..b729c38e8f1 100644 --- a/dlls/krnl386.exe16/wowthunk.c +++ b/dlls/krnl386.exe16/wowthunk.c @@ -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);
1
0
0
0
Alexandre Julliard : kernelbase: Use the official definitions for exception flags.
by Alexandre Julliard
29 Feb '24
29 Feb '24
Module: wine Branch: master Commit: 0698f732af10d00fc359847954c1dcf6ee316a8f URL:
https://gitlab.winehq.org/wine/wine/-/commit/0698f732af10d00fc359847954c1dc…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Feb 28 16:23:20 2024 +0100 kernelbase: Use the official definitions for exception flags. --- dlls/kernelbase/debug.c | 2 +- dlls/kernelbase/loader.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/kernelbase/debug.c b/dlls/kernelbase/debug.c index 43714c3be2e..8eb5094dbef 100644 --- a/dlls/kernelbase/debug.c +++ b/dlls/kernelbase/debug.c @@ -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) diff --git a/dlls/kernelbase/loader.c b/dlls/kernelbase/loader.c index 59b91596f13..e0be2a88d2b 100644 --- a/dlls/kernelbase/loader.c +++ b/dlls/kernelbase/loader.c @@ -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; }
1
0
0
0
← Newer
1
2
3
4
5
6
...
72
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Results per page:
10
25
50
100
200