mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 14:18:41 +00:00
![]() 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. |
||
---|---|---|
.. | ||
appswitch.c | ||
button.c | ||
combo.c | ||
edit.c | ||
ghost.c | ||
icontitle.c | ||
listbox.c | ||
regcontrol.c | ||
scrollbar.c | ||
static.c |