22 Nov
2011
22 Nov
'11
5:08 a.m.
"Erich E. Hoover" <ehoover(a)mines.edu> wrote:
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.
kernel32.RaiseException is just a wrapper around an ntdll one. I'd expect the kernel32 API be always available despite what MSDN claims. -- Dmitry.