reactos/win32ss/user
Timo Kreuzer d07203ecb7 [WIN32K][USER32] Change mechanism for storing dialog info pointer
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.
2021-05-28 08:26:36 +02:00
..
ntuser [WIN32K][USER32] Change mechanism for storing dialog info pointer 2021-05-28 08:26:36 +02:00
rtl [WIN32K:NTUSER] Zero allocated memory in IntCbAllocateMemory. 2020-06-24 09:15:27 +02:00
user32 [WIN32K][USER32] Change mechanism for storing dialog info pointer 2021-05-28 08:26:36 +02:00
winsrv [CONSRV] wcwidth.c: Fix out-of-range comparisons Clang warnings for wchar_t's, that are only 2 bytes long on NT. (#3619) 2021-05-05 17:24:13 +02:00