kernel32 [1/5]: Export part of UnhandledExceptionHandler as aninternal Wine function.
Dmitry Timoshkov
dmitry at codeweavers.com
Tue Nov 20 00:33:09 CST 2007
"Dan Hipschman" <dsh at linux.ucla.edu> wrote:
> This patch exports the part of UnhandledExceptionFilter that sets a page
> as either writable or executable in some cases to allow continued execution
> as an internal wine function. This is used in the next patch to implement
> exception handling in code generated by WIDL. It needs to be able to do
> this because if we can continue execution in these cases then we shouldn't
> wind down the handler stack. We also shouldn't execute an "except" block
> if we can continue normally.
There is no need to introduce Wine-specific exception handlers, there is a
sample in dlls/ntdll/tests/exception.c how to add an exception handler without
Wine-specific hacks. A DIB exception handler in dlls/winex11.drv/dib.c is
another one.
--
Dmitry.
More information about the wine-devel
mailing list