user32: Fix 64-bit 'msg' test hang in test_timers (try 2).

Erich E. Hoover ehoover at mines.edu
Mon Nov 21 22:03:59 CST 2011


On Mon, Nov 21, 2011 at 9:51 PM, Dmitry Timoshkov <dmitry at baikal.ru> wrote:
> "Erich E. Hoover" <ehoover at mines.edu> wrote:
> > The attached patch changes the test_timers() crash function to use
> > RtlRaiseException (if available) rather than attempting to write to memory
> > address 0.  This change stops the timer tests from hanging on the 64-bit VM.
>
> Why not use kernel32.RaiseException (which is always available) instead?

MSDN indicates that RaiseException is only available starting with
win2k, is it actually safe to use?  I used RtlRaiseException because
that's what's used in the ntdll tests and I saw no other exception
raising examples in a quick "grep" though Wine's tests.

Erich Hoover
ehoover at mines.edu



More information about the wine-devel mailing list