http://bugs.winehq.org/show_bug.cgi?id=12859
--- Comment #9 from Anastasius Focht focht@gmx.net 2009-05-18 15:14:17 --- Hello,
I should have looked more closely at the patch ... despite being very small and non-intrusive it contains a problem. Gcc might generate code where "status" return value isn't explicitly initialized which might result in garbage NTSTATUS returned. This is bad for next call which is coded in a way to take status as pointer parameter (bug 18500). I suggest you directly return STATUS_SUCCESS for ThreadHideFromDebugger case.
Regards