https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d48345a0ee1804cedb80a817721a57ded39efd85

commit d48345a0ee1804cedb80a817721a57ded39efd85
Author:     James Tabor <james.ta...@reactos.org>
AuthorDate: Thu Aug 15 21:39:26 2019 -0500
Commit:     James Tabor <james.ta...@reactos.org>
CommitDate: Thu Aug 15 21:39:26 2019 -0500

    Update Headers for Printing and Other
    
    Add missing flags and function types. Fix typos.
---
 sdk/include/psdk/wingdi.h  | 7 +++++++
 win32ss/gdi/eng/surface.h  | 2 +-
 win32ss/include/ntgdihdl.h | 3 +++
 win32ss/include/ntgdityp.h | 2 +-
 4 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/sdk/include/psdk/wingdi.h b/sdk/include/psdk/wingdi.h
index 537837813c6..bcaeb6c0e1b 100644
--- a/sdk/include/psdk/wingdi.h
+++ b/sdk/include/psdk/wingdi.h
@@ -1034,6 +1034,7 @@ extern "C" {
 #define SETALLJUSTVALUES       771
 #define SETCHARSET     772
 #define STRETCHBLT     2048
+#define METAFILE_DRIVER 2049
 #define GETSETSCREENPARAMS     3072
 #define QUERYDIBSUPPORT        3073
 #define BEGIN_PATH     4096
@@ -1056,6 +1057,12 @@ extern "C" {
 #define CLOSECHANNEL   4112
 #define POSTSCRIPT_PASSTHROUGH 4115
 #define ENCAPSULATED_POSTSCRIPT        4116
+#define POSTSCRIPT_IDENTIFY 4117
+#define POSTSCRIPT_INJECTION 4118
+#define CHECKJPEGFORMAT 4119
+#define CHECKPNGFORMAT 4120
+#define GET_PS_FEATURESETTING 4121
+#define SPCLPASSTHROUGH2 4568
 #define QDI_SETDIBITS  1
 #define QDI_GETDIBITS  2
 #define QDI_DIBTOSCREEN        4
diff --git a/win32ss/gdi/eng/surface.h b/win32ss/gdi/eng/surface.h
index ee05847e99c..e65ff12a9e3 100644
--- a/win32ss/gdi/eng/surface.h
+++ b/win32ss/gdi/eng/surface.h
@@ -9,7 +9,7 @@ typedef struct _SURFACE
     //XDCOBJ *   pdcoAA;
     FLONG       flags;
     struct _PALETTE  * const ppal; // Use SURFACE_vSetPalette to assign a 
palette
-    //UINT       unk_050;
+    struct _EWNDOBJ  *pWinObj;
 
     union
     {
diff --git a/win32ss/include/ntgdihdl.h b/win32ss/include/ntgdihdl.h
index 1cbb8545d45..1c0c230823b 100644
--- a/win32ss/include/ntgdihdl.h
+++ b/win32ss/include/ntgdihdl.h
@@ -173,11 +173,14 @@
 #define LDC_INIT_DOCUMENT 0x00000040
 #define LDC_INIT_PAGE     0x00000080
 #define LDC_STARTPAGE     0x00000100
+#define LDC_NEXTBAND      0x00000200
 #define LDC_CLOCKWISE     0x00002000
 #define LDC_KILL_DOCUMENT 0x00010000
 #define LDC_META_PRINT    0x00020000
 #define LDC_DIRECT        0x00040000
 #define LDC_RESET_BANDING 0x00080000
+#define LDC_RESETDC       0x00200000
+#define LDC_UFIMAP        0x00400000
 #define LDC_INFODC        0x01000000 /* If CreateIC was passed. */
 #define LDC_DEVCAPS       0x02000000
 #define LDC_ATENDPAGE     0x10000000
diff --git a/win32ss/include/ntgdityp.h b/win32ss/include/ntgdityp.h
index 3cce9e8afe0..748e4041034 100644
--- a/win32ss/include/ntgdityp.h
+++ b/win32ss/include/ntgdityp.h
@@ -572,7 +572,7 @@ typedef struct _DRIVER_FUNCTIONS
     PFN_DrvDisableSurface          DisableSurface;
     PFN_DrvAssertMode              AssertMode;
     PFN_DrvOffset                  Offset;
-    PFN_DrvResetDevice             ResetPDEV;
+    PFN_DrvResetPDEV               ResetPDEV;
     PFN_DrvDisableDriver           DisableDriver;
     PVOID                          Unknown1;
     PFN_DrvCreateDeviceBitmap      CreateDeviceBitmap;

Reply via email to