mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:16:18 +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
|
@ -245,7 +245,7 @@ DriveDlgProc(
|
|||
|
||||
case PSN_QUERYCANCEL:
|
||||
SetWindowLongPtr(hwndDlg,
|
||||
DWL_MSGRESULT,
|
||||
DWLP_MSGRESULT,
|
||||
MessageBox(GetParent(hwndDlg),
|
||||
pSetupData->szAbortMessage,
|
||||
pSetupData->szAbortTitle,
|
||||
|
|
|
@ -174,7 +174,7 @@ TypeDlgProc(HWND hwndDlg,
|
|||
|
||||
case PSN_QUERYCANCEL:
|
||||
SetWindowLongPtr(hwndDlg,
|
||||
DWL_MSGRESULT,
|
||||
DWLP_MSGRESULT,
|
||||
MessageBox(GetParent(hwndDlg),
|
||||
pSetupData->szAbortMessage,
|
||||
pSetupData->szAbortTitle,
|
||||
|
@ -262,7 +262,7 @@ DeviceDlgProc(HWND hwndDlg,
|
|||
|
||||
case PSN_QUERYCANCEL:
|
||||
SetWindowLongPtr(hwndDlg,
|
||||
DWL_MSGRESULT,
|
||||
DWLP_MSGRESULT,
|
||||
MessageBox(GetParent(hwndDlg),
|
||||
pSetupData->szAbortMessage,
|
||||
pSetupData->szAbortTitle,
|
||||
|
@ -350,7 +350,7 @@ SummaryDlgProc(HWND hwndDlg,
|
|||
|
||||
case PSN_QUERYCANCEL:
|
||||
SetWindowLongPtr(hwndDlg,
|
||||
DWL_MSGRESULT,
|
||||
DWLP_MSGRESULT,
|
||||
MessageBox(GetParent(hwndDlg),
|
||||
pSetupData->szAbortMessage,
|
||||
pSetupData->szAbortTitle,
|
||||
|
@ -401,7 +401,7 @@ ProcessDlgProc(HWND hwndDlg,
|
|||
break;
|
||||
case PSN_QUERYCANCEL:
|
||||
SetWindowLongPtr(hwndDlg,
|
||||
DWL_MSGRESULT,
|
||||
DWLP_MSGRESULT,
|
||||
MessageBox(GetParent(hwndDlg),
|
||||
pSetupData->szAbortMessage,
|
||||
pSetupData->szAbortTitle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue