Author: jimtabor
Date: Mon Feb 28 06:31:44 2011
New Revision: 50933
URL:
http://svn.reactos.org/svn/reactos?rev=50933&view=rev
Log:
[Win32k|User32]
- Clarify the meaning and the use of 0, 1 and 2 for user window regions, wine never did.
Noticing patches not corresponding in correctness and understanding, leaving potential
crashes in the DCE code, which depend on these types.
- Patch based on Rafal Harabien patch, fixes wine msg SetWindowRgn test, see also bug
5959.
This change breaks Winamp 5.601:
(ntoskrnl/ps/thread.c:119) PS: Unhandled Kernel Mode Exception Pointers = 0xF86A8568
(ntoskrnl/ps/thread.c:126) Code c0000005 Addr F87D4C3E Info0 00000000 Info1 00000020 Info2
00000000 Info3 00000020
*** Fatal System Error: 0x0000007e
(0xC0000005,0xF87D4C3E,0xF86A8A50,0xF86A8690)
[7hEntered debugger on embedded INT3 at 0x0008:0x808fd45c.bt
Eip:
<ntoskrnl.exe:fd45d (lib/rtl/i386/debug_asm.S:39 (RtlpBreakWithStatusInstruction))>
Frames:
<ntoskrnl.exe:a902 (ntoskrnl/ke/bug.c:1110 (KeBugCheckWithTf@24))>
<ntoskrnl.exe:aa4d (ntoskrnl/ke/bug.c:1438 (KeBugCheckEx@20))>
<ntoskrnl.exe:ead94 (ntoskrnl/ps/thread.c:129
(PspUnhandledExceptionInSystemThread))>
<ntoskrnl.exe:eadaf (ntoskrnl/ps/thread.c:159 (_SEHExcept.39966))>
<ntoskrnl.exe:fa9fa (lib/pseh/i386/framebased-gcchack.c:132 (_SEH2FrameHandler))>
<ntoskrnl.exe:fcecb (lib/rtl/i386/except_asm.s:183 (RtlpExecuteHandler2))>
<ntoskrnl.exe:fce9f (lib/rtl/i386/except_asm.s:150 (RtlpExecuteHandlerForUnwind))>
<ntoskrnl.exe:3222 (ntoskrnl/ke/i386/exp.c:938 (KiDispatchException@20))>
<ntoskrnl.exe:36bd (ntoskrnl/ke/i386/exp.c:1137
(KiDispatchExceptionFromTrapFrame@28))>
<ntoskrnl.exe:6941 (ntoskrnl/include/internal/arch/../i386/ke.h:597
(@KiTrap0EHandler@4))>
<ntoskrnl.exe:f7408 (ntoskrnl/ke/i386/trap.s:99 (VfIsVerificationEnabled@8))>
<win32k.sys:bac39 (subsystems/win32/win32k/objects/region.c:2104
(@RGNOBJAPI_Lock@8))>
<win32k.sys:bb0b3 (subsystems/win32/win32k/objects/region.c:3753
(NtGdiPtInRegion@12))>
<win32k.sys:71bbb (subsystems/win32/win32k/ntuser/msgqueue.c:248
(@co_MsqInsertMouseMessage@4))>
<win32k.sys:5ded4 (subsystems/win32/win32k/ntuser/cursoricon.c:205
(UserSetCursorPos))>
<win32k.sys:66630 (subsystems/win32/win32k/ntuser/input.c:1134 (@IntMouseInput@4))>
<win32k.sys:66cca (subsystems/win32/win32k/ntuser/input.c:194
(@ProcessMouseInputData@8))>
<win32k.sys:66fbf (subsystems/win32/win32k/ntuser/input.c:308 (MouseThreadMain@4))>
<ntoskrnl.exe:eac86 (ntoskrnl/ps/thread.c:156 (PspSystemThreadStartup@8))>
<ntoskrnl.exe:5936 (ntoskrnl/ke/i386/thrdini.c:78 (KiThreadStartup@0))>
<ntoskrnl.exe:eac22 (ntoskrnl/ps/thread.c:625 (PsCreateSystemThread@28))>
WBR,
Johannes