mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 05:12:55 +00:00
[PSDK][REACTOS] Fix definitions and usage of DWLP_MSGRESULT, DWLP_DLGPROC, and DWLP_USER
- Make sure the DWLP_* values are correct on _WIN64 - Don't use the DWL_* constants, they are not portable. Enforce this by removing them entirely from winuser.h - Make sure Get/SetWindowLong*Ptr* is used and pointers are not truncated to LONG
This commit is contained in:
parent
6cdd1357d6
commit
0182dcd71b
35 changed files with 142 additions and 131 deletions
|
@ -728,9 +728,9 @@ CommonWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
* to the message.
|
||||
*
|
||||
* If the dialog box procedure processes a message that requires a specific return value, the dialog box procedure
|
||||
* should set the desired return value by calling SetWindowLong(hwndDlg, DWL_MSGRESULT, lResult) immediately before
|
||||
* should set the desired return value by calling SetWindowLong(hwndDlg, DWLP_MSGRESULT, lResult) immediately before
|
||||
* returning TRUE. Note that you must call SetWindowLong immediately before returning TRUE; doing so earlier may result
|
||||
* in the DWL_MSGRESULT value being overwritten by a nested dialog box message.
|
||||
* in the DWLP_MSGRESULT value being overwritten by a nested dialog box message.
|
||||
*
|
||||
* [...]
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue