mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
d07203ecb7
DLGWINDOWEXTRA is 30 (both on win32 and win64). This has storage for the following entries: DWLP_MSGRESULT (0), DWLP_DLGPROC (8), DWLP_USER (16) We used to store the dialog info pointer using SetWindowLongPtr (DWLP_ROS_DIALOGINFO == DWLP_USER+sizeof(ULONG_PTR) == 24), which was fine on win32, but failed on win64, since there wasn't enough space left (24 + 8 = 32 > 30). Rewrite the way the DLGINFO pointer is stored, by adding an additional field to the WND structure and set it using NtUserxSetDialogPointer (which is what it is for). Also fix too small cbWndExtra for the button class. |
||
---|---|---|
.. | ||
drivers | ||
gdi | ||
include | ||
printing | ||
reactx | ||
user | ||
CMakeLists.txt | ||
napi.h | ||
pch.h | ||
sys-stubs.S | ||
w32ksvc.db | ||
w32ksvc.h | ||
win32k.h | ||
win32k.rc | ||
win32k.spec | ||
win32kp.h |