https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6756e1adaff404e63754d…
commit 6756e1adaff404e63754d0ed7e0b387cab1d950f
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Mon Jan 7 02:21:10 2019 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Mon Mar 4 21:58:42 2019 +0100
[PSDK] Fix PRINTDLG structure definition
---
sdk/include/psdk/commdlg.h | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/sdk/include/psdk/commdlg.h b/sdk/include/psdk/commdlg.h
index 4680cca8c1..f69be04b55 100644
--- a/sdk/include/psdk/commdlg.h
+++ b/sdk/include/psdk/commdlg.h
@@ -464,8 +464,8 @@ typedef struct tagPSDW {
typedef struct tagPDA {
DWORD lStructSize;
HWND hwndOwner;
- HANDLE hDevMode;
- HANDLE hDevNames;
+ HGLOBAL hDevMode;
+ HGLOBAL hDevNames;
HDC hDC;
DWORD Flags;
WORD nFromPage;
@@ -474,19 +474,19 @@ typedef struct tagPDA {
WORD nMaxPage;
WORD nCopies;
HINSTANCE hInstance;
- DWORD lCustData;
+ LPARAM lCustData;
LPPRINTHOOKPROC lpfnPrintHook;
LPSETUPHOOKPROC lpfnSetupHook;
LPCSTR lpPrintTemplateName;
LPCSTR lpSetupTemplateName;
- HANDLE hPrintTemplate;
- HANDLE hSetupTemplate;
-} PRINTDLGA,*LPPRINTDLGA;
+ HGLOBAL hPrintTemplate;
+ HGLOBAL hSetupTemplate;
+} PRINTDLGA, *LPPRINTDLGA;
typedef struct tagPDW {
DWORD lStructSize;
HWND hwndOwner;
- HANDLE hDevMode;
- HANDLE hDevNames;
+ HGLOBAL hDevMode;
+ HGLOBAL hDevNames;
HDC hDC;
DWORD Flags;
WORD nFromPage;
@@ -495,14 +495,14 @@ typedef struct tagPDW {
WORD nMaxPage;
WORD nCopies;
HINSTANCE hInstance;
- DWORD lCustData;
+ LPARAM lCustData;
LPPRINTHOOKPROC lpfnPrintHook;
LPSETUPHOOKPROC lpfnSetupHook;
LPCWSTR lpPrintTemplateName;
LPCWSTR lpSetupTemplateName;
- HANDLE hPrintTemplate;
- HANDLE hSetupTemplate;
-} PRINTDLGW,*LPPRINTDLGW;
+ HGLOBAL hPrintTemplate;
+ HGLOBAL hSetupTemplate;
+} PRINTDLGW, *LPPRINTDLGW;
#if (WINVER >= 0x0500) && !defined (__OBJC__)
#include <prsht.h> /* for HPROPSHEETPAGE */
typedef struct tagPRINTPAGERANGE {