Update Headers for Printing and Other

Add missing flags and function types. Fix typos.
This commit is contained in:
James Tabor 2019-08-15 21:39:26 -05:00
parent 4093681ad0
commit d48345a0ee
4 changed files with 12 additions and 2 deletions

View 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

View 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
{

View File

@ -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

View 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;