mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
- Reimplement `RtlUnhandledExceptionFilter()` by just calling `RtlUnhandledExceptionFilter2()`. - Return an adequate exception filter value `EXCEPTION_CONTINUE_SEARCH` from `RtlUnhandledExceptionFilter2()`, instead of some random error. If `ExceptionCode` is `STATUS_POSSIBLE_DEADLOCK` however, return `EXCEPTION_CONTINUE_EXECUTION` instead, as shown by a test from Whindmar Saksit. - The second parameter of `RtlUnhandledExceptionFilter2()` is not a flag, but a pointer to string `PCSTR` ! See https://skanthak.hier-im-netz.de/download/NTDLL.H who is the only one online who has the correct definition, whose usage I've double-checked on Win7 ntdll.dll. This is used in the `<function_name>` slot in the displayed debugger message: ``` *** An Access Violation occurred in <program_command_line>:<function_name> The instruction at <address> tried to write to a NULL pointer ``` For example, see: https://community.osr.com/t/access-violation/33435