Detlef Riekenberg : include/commdlg: Add more defines for PrintDlg/ PrintDlgEx.
Alexandre Julliard
julliard at winehq.org
Thu Oct 25 08:38:48 CDT 2007
Module: wine
Branch: master
Commit: 03f5774db7cd198b970bd6c3c7824e5a4bbdb36d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=03f5774db7cd198b970bd6c3c7824e5a4bbdb36d
Author: Detlef Riekenberg <wine.dev at web.de>
Date: Wed Oct 24 23:52:01 2007 +0200
include/commdlg: Add more defines for PrintDlg/PrintDlgEx.
---
include/commdlg.h | 61 ++++++++++++++++++++++++++++++++--------------------
1 files changed, 37 insertions(+), 24 deletions(-)
diff --git a/include/commdlg.h b/include/commdlg.h
index da3e6d1..cd4dc59 100644
--- a/include/commdlg.h
+++ b/include/commdlg.h
@@ -556,30 +556,43 @@ typedef struct tagPDW
DECL_WINELIB_TYPE_AW(PRINTDLG)
DECL_WINELIB_TYPE_AW(LPPRINTDLG)
-#define PD_ALLPAGES 0x00000000
-#define PD_SELECTION 0x00000001
-#define PD_PAGENUMS 0x00000002
-#define PD_NOSELECTION 0x00000004
-#define PD_NOPAGENUMS 0x00000008
-#define PD_COLLATE 0x00000010
-#define PD_PRINTTOFILE 0x00000020
-#define PD_PRINTSETUP 0x00000040
-#define PD_NOWARNING 0x00000080
-#define PD_RETURNDC 0x00000100
-#define PD_RETURNIC 0x00000200
-#define PD_RETURNDEFAULT 0x00000400
-#define PD_SHOWHELP 0x00000800
-#define PD_ENABLEPRINTHOOK 0x00001000
-#define PD_ENABLESETUPHOOK 0x00002000
-#define PD_ENABLEPRINTTEMPLATE 0x00004000
-#define PD_ENABLESETUPTEMPLATE 0x00008000
-#define PD_ENABLEPRINTTEMPLATEHANDLE 0x00010000
-#define PD_ENABLESETUPTEMPLATEHANDLE 0x00020000
-#define PD_USEDEVMODECOPIES 0x00040000
+#define PD_ALLPAGES 0x00000000
+#define PD_SELECTION 0x00000001
+#define PD_PAGENUMS 0x00000002
+#define PD_NOSELECTION 0x00000004
+#define PD_NOPAGENUMS 0x00000008
+#define PD_COLLATE 0x00000010
+#define PD_PRINTTOFILE 0x00000020
+#define PD_PRINTSETUP 0x00000040
+#define PD_NOWARNING 0x00000080
+#define PD_RETURNDC 0x00000100
+#define PD_RETURNIC 0x00000200
+#define PD_RETURNDEFAULT 0x00000400
+#define PD_SHOWHELP 0x00000800
+#define PD_ENABLEPRINTHOOK 0x00001000
+#define PD_ENABLESETUPHOOK 0x00002000
+#define PD_ENABLEPRINTTEMPLATE 0x00004000
+#define PD_ENABLESETUPTEMPLATE 0x00008000
+#define PD_ENABLEPRINTTEMPLATEHANDLE 0x00010000
+#define PD_ENABLESETUPTEMPLATEHANDLE 0x00020000
+#define PD_USEDEVMODECOPIES 0x00040000
#define PD_USEDEVMODECOPIESANDCOLLATE 0x00040000
-#define PD_DISABLEPRINTTOFILE 0x00080000
-#define PD_HIDEPRINTTOFILE 0x00100000
-#define PD_NONETWORKBUTTON 0x00200000
+#define PD_DISABLEPRINTTOFILE 0x00080000
+#define PD_HIDEPRINTTOFILE 0x00100000
+#define PD_NONETWORKBUTTON 0x00200000
+#define PD_CURRENTPAGE 0x00400000
+#define PD_NOCURRENTPAGE 0x00800000
+#define PD_EXCLUSIONFLAGS 0x01000000
+#define PD_USELARGETEMPLATE 0x10000000
+
+
+#define PD_EXCL_COPIESANDCOLLATE (DM_COPIES | DM_COLLATE)
+
+#define START_PAGE_GENERAL 0xffffffff
+
+#define PD_RESULT_CANCEL 0
+#define PD_RESULT_PRINT 1
+#define PD_RESULT_APPLY 2
typedef struct
{
@@ -661,7 +674,7 @@ DECL_WINELIB_TYPE_AW(LPPAGESETUPDLG)
#define PSD_ENABLEPAGESETUPTEMPLATEHANDLE 0x00020000
#define PSD_ENABLEPAGEPAINTHOOK 0x00040000
#define PSD_DISABLEPAGEPAINTING 0x00080000
-#define PSD_NONETWORKBUTTON 0x00200000
+#define PSD_NONETWORKBUTTON 0x00200000
typedef struct tagPRINTPAGERANGE
{
More information about the wine-cvs
mailing list