Update Headers for Printing and Other
authorJames Tabor <james.tabor@reactos.org>
Fri, 16 Aug 2019 02:39:26 +0000 (21:39 -0500)
committerJames Tabor <james.tabor@reactos.org>
Fri, 16 Aug 2019 02:39:26 +0000 (21:39 -0500)
Add missing flags and function types. Fix typos.

sdk/include/psdk/wingdi.h
win32ss/gdi/eng/surface.h
win32ss/include/ntgdihdl.h
win32ss/include/ntgdityp.h

index 5378378..bcaeb6c 100644 (file)
@@ -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
index ee05847..e65ff12 100644 (file)
@@ -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
     {
index 1cbb854..1c0c230 100644 (file)
 #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
index 3cce9e8..748e404 100644 (file)
@@ -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;