21#ifndef __WINE_WINDDIUI_H
22#define __WINE_WINDDIUI_H
30#if (NTDDI_VERSION >= NTDDI_WINXP)
50#define DOCUMENTEVENT_FIRST 1
51#define DOCUMENTEVENT_CREATEDCPRE 1
52#define DOCUMENTEVENT_CREATEDCPOST 2
53#define DOCUMENTEVENT_RESETDCPRE 3
54#define DOCUMENTEVENT_RESETDCPOST 4
55#define DOCUMENTEVENT_STARTDOC 5
56#define DOCUMENTEVENT_STARTDOCPRE 5
57#define DOCUMENTEVENT_STARTPAGE 6
58#define DOCUMENTEVENT_ENDPAGE 7
59#define DOCUMENTEVENT_ENDDOC 8
60#define DOCUMENTEVENT_ENDDOCPRE 8
61#define DOCUMENTEVENT_ABORTDOC 9
62#define DOCUMENTEVENT_DELETEDC 10
63#define DOCUMENTEVENT_ESCAPE 11
64#define DOCUMENTEVENT_ENDDOCPOST 12
65#define DOCUMENTEVENT_STARTDOCPOST 13
66#if (NTDDI_VERSION >= NTDDI_VISTA)
67#define DOCUMENTEVENT_QUERYFILTER 14
68#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRE 1
69#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRE 2
70#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEEPRE 3
71#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPOST 4
72#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPOST 5
73#define DOCUMENTEVENT_XPS_CANCELJOB 6
74#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRINTTICKETPRE 7
75#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRINTTICKETPRE 8
76#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPRINTTICKETPRE 9
77#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPRINTTICKETPOST 10
78#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRINTTICKETPOST 11
79#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRINTTICKETPOST 12
80#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPOST 13
81#define DOCUMENTEVENT_LAST 15
82#elif (NTDDI_VERSION >= NTDDI_WINXP)
83#define DOCUMENTEVENT_QUERYFILTER 14
84#define DOCUMENTEVENT_LAST 15
86#define DOCUMENTEVENT_LAST 14
88#define DOCUMENTEVENT_SPOOLED 0x10000
89#define DOCUMENTEVENT_SUCCESS 1
90#define DOCUMENTEVENT_UNSUPPORTED 0
91#define DOCUMENTEVENT_FAILURE -1
92#define DOCUMENTEVENT_EVENT(iX) (LOWORD(iX))
93#define DOCUMENTEVENT_FLAGS(iX) (HIWORD(iX))
97#define DRIVER_EVENT_INITIALIZE 1
98#define DRIVER_EVENT_DELETE 2
100#define PRINTER_EVENT_ADD_CONNECTION 1
101#define PRINTER_EVENT_DELETE_CONNECTION 2
102#define PRINTER_EVENT_INITIALIZE 3
103#define PRINTER_EVENT_DELETE 4
104#define PRINTER_EVENT_CACHE_REFRESH 5
105#define PRINTER_EVENT_CACHE_DELETE 6
106#define PRINTER_EVENT_ATTRIBUTES_CHANGED 7
108#define PRINTER_EVENT_FLAG_NO_UI 1
123#define DPS_NOPERMISSION 0x0001
138#define DM_ADVANCED 0x10
139#define DM_NOPERMISSION 0x20
140#define DM_USER_DEFAULT 0x40
struct _DEVICEPROPERTYHEADER * PDEVICEPROPERTYHEADER
BOOL WINAPI DrvPrinterEvent(LPWSTR, INT, DWORD, LPARAM)
BOOL WINAPI DevQueryPrintEx(PDEVQUERYPRINT_INFO)
struct _DEVQUERYPRINT_INFO DEVQUERYPRINT_INFO
struct _DOCEVENT_ESCAPE DOCEVENT_ESCAPE
BOOL WINAPI DrvDriverEvent(DWORD, DWORD, LPBYTE, LPARAM)
struct _DOCEVENT_FILTER * PDOCEVENT_FILTER
LONG WINAPI DrvDevicePropertySheets(PPROPSHEETUI_INFO, LPARAM)
struct _DOCUMENTPROPERTYHEADER DOCUMENTPROPERTYHEADER
struct _DOCEVENT_CREATEDCPRE DOCEVENT_CREATEDCPRE
struct _DOCEVENT_FILTER DOCEVENT_FILTER
struct _DEVICEPROPERTYHEADER DEVICEPROPERTYHEADER
LONG WINAPI DrvDocumentPropertySheets(PPROPSHEETUI_INFO, LPARAM)
int WINAPI DrvDocumentEvent(HANDLE, HDC, int, ULONG, PVOID, ULONG, PVOID)
struct _DOCEVENT_CREATEDCPRE * PDCEVENT_CREATEDCPRE
struct _DOCUMENTPROPERTYHEADER * PDOCUMENTPROPERTYHEADER
struct _DOCEVENT_ESCAPE * PDOCEVENT_ESCAPE
struct _DEVQUERYPRINT_INFO * PDEVQUERYPRINT_INFO
DWORD WINAPI DrvDeviceCapabilities(HANDLE, PWSTR, WORD, PVOID, PDEVMODE)
DWORD aDocEventCall[ANYSIZE_ARRAY]