ReactOS 0.4.16-dev-297-gc569aee
winddiui.h File Reference
#include <compstui.h>
Include dependency graph for winddiui.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DOCEVENT_FILTER
 
struct  _DOCEVENT_CREATEDCPRE
 
struct  _DOCEVENT_ESCAPE
 
struct  _DEVICEPROPERTYHEADER
 
struct  _DOCUMENTPROPERTYHEADER
 
struct  _DEVQUERYPRINT_INFO
 

Macros

#define DOCUMENTEVENT_FIRST   1
 
#define DOCUMENTEVENT_CREATEDCPRE   1
 
#define DOCUMENTEVENT_CREATEDCPOST   2
 
#define DOCUMENTEVENT_RESETDCPRE   3
 
#define DOCUMENTEVENT_RESETDCPOST   4
 
#define DOCUMENTEVENT_STARTDOC   5
 
#define DOCUMENTEVENT_STARTDOCPRE   5
 
#define DOCUMENTEVENT_STARTPAGE   6
 
#define DOCUMENTEVENT_ENDPAGE   7
 
#define DOCUMENTEVENT_ENDDOC   8
 
#define DOCUMENTEVENT_ENDDOCPRE   8
 
#define DOCUMENTEVENT_ABORTDOC   9
 
#define DOCUMENTEVENT_DELETEDC   10
 
#define DOCUMENTEVENT_ESCAPE   11
 
#define DOCUMENTEVENT_ENDDOCPOST   12
 
#define DOCUMENTEVENT_STARTDOCPOST   13
 
#define DOCUMENTEVENT_QUERYFILTER   14
 
#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRE   1
 
#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRE   2
 
#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEEPRE   3
 
#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPOST   4
 
#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPOST   5
 
#define DOCUMENTEVENT_XPS_CANCELJOB   6
 
#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRINTTICKETPRE   7
 
#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRINTTICKETPRE   8
 
#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPRINTTICKETPRE   9
 
#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPRINTTICKETPOST   10
 
#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRINTTICKETPOST   11
 
#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRINTTICKETPOST   12
 
#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPOST   13
 
#define DOCUMENTEVENT_LAST   15
 
#define DOCUMENTEVENT_SPOOLED   0x10000
 
#define DOCUMENTEVENT_SUCCESS   1
 
#define DOCUMENTEVENT_UNSUPPORTED   0
 
#define DOCUMENTEVENT_FAILURE   -1
 
#define DOCUMENTEVENT_EVENT(iX)   (LOWORD(iX))
 
#define DOCUMENTEVENT_FLAGS(iX)   (HIWORD(iX))
 
#define DRIVER_EVENT_INITIALIZE   1
 
#define DRIVER_EVENT_DELETE   2
 
#define PRINTER_EVENT_ADD_CONNECTION   1
 
#define PRINTER_EVENT_DELETE_CONNECTION   2
 
#define PRINTER_EVENT_INITIALIZE   3
 
#define PRINTER_EVENT_DELETE   4
 
#define PRINTER_EVENT_CACHE_REFRESH   5
 
#define PRINTER_EVENT_CACHE_DELETE   6
 
#define PRINTER_EVENT_ATTRIBUTES_CHANGED   7
 
#define PRINTER_EVENT_FLAG_NO_UI   1
 
#define DPS_NOPERMISSION   0x0001
 
#define DM_ADVANCED   0x10
 
#define DM_NOPERMISSION   0x20
 
#define DM_USER_DEFAULT   0x40
 

Typedefs

typedef struct _DOCEVENT_FILTER DOCEVENT_FILTER
 
typedef struct _DOCEVENT_FILTERPDOCEVENT_FILTER
 
typedef struct _DOCEVENT_CREATEDCPRE DOCEVENT_CREATEDCPRE
 
typedef struct _DOCEVENT_CREATEDCPREPDCEVENT_CREATEDCPRE
 
typedef struct _DOCEVENT_ESCAPE DOCEVENT_ESCAPE
 
typedef struct _DOCEVENT_ESCAPEPDOCEVENT_ESCAPE
 
typedef struct _DEVICEPROPERTYHEADER DEVICEPROPERTYHEADER
 
typedef struct _DEVICEPROPERTYHEADERPDEVICEPROPERTYHEADER
 
typedef struct _DOCUMENTPROPERTYHEADER DOCUMENTPROPERTYHEADER
 
typedef struct _DOCUMENTPROPERTYHEADERPDOCUMENTPROPERTYHEADER
 
typedef struct _DEVQUERYPRINT_INFO DEVQUERYPRINT_INFO
 
typedef struct _DEVQUERYPRINT_INFOPDEVQUERYPRINT_INFO
 

Functions

int WINAPI DrvDocumentEvent (HANDLE, HDC, int, ULONG, PVOID, ULONG, PVOID)
 
BOOL WINAPI DrvDriverEvent (DWORD, DWORD, LPBYTE, LPARAM)
 
BOOL WINAPI DrvPrinterEvent (LPWSTR, INT, DWORD, LPARAM)
 
DWORD WINAPI DrvDeviceCapabilities (HANDLE, PWSTR, WORD, PVOID, PDEVMODE)
 
LONG WINAPI DrvDevicePropertySheets (PPROPSHEETUI_INFO, LPARAM)
 
LONG WINAPI DrvDocumentPropertySheets (PPROPSHEETUI_INFO, LPARAM)
 
BOOL WINAPI DevQueryPrintEx (PDEVQUERYPRINT_INFO)
 

Macro Definition Documentation

◆ DM_ADVANCED

#define DM_ADVANCED   0x10

Definition at line 138 of file winddiui.h.

◆ DM_NOPERMISSION

#define DM_NOPERMISSION   0x20

Definition at line 139 of file winddiui.h.

◆ DM_USER_DEFAULT

#define DM_USER_DEFAULT   0x40

Definition at line 140 of file winddiui.h.

◆ DOCUMENTEVENT_ABORTDOC

#define DOCUMENTEVENT_ABORTDOC   9

Definition at line 61 of file winddiui.h.

◆ DOCUMENTEVENT_CREATEDCPOST

#define DOCUMENTEVENT_CREATEDCPOST   2

Definition at line 52 of file winddiui.h.

◆ DOCUMENTEVENT_CREATEDCPRE

#define DOCUMENTEVENT_CREATEDCPRE   1

Definition at line 51 of file winddiui.h.

◆ DOCUMENTEVENT_DELETEDC

#define DOCUMENTEVENT_DELETEDC   10

Definition at line 62 of file winddiui.h.

◆ DOCUMENTEVENT_ENDDOC

#define DOCUMENTEVENT_ENDDOC   8

Definition at line 59 of file winddiui.h.

◆ DOCUMENTEVENT_ENDDOCPOST

#define DOCUMENTEVENT_ENDDOCPOST   12

Definition at line 64 of file winddiui.h.

◆ DOCUMENTEVENT_ENDDOCPRE

#define DOCUMENTEVENT_ENDDOCPRE   8

Definition at line 60 of file winddiui.h.

◆ DOCUMENTEVENT_ENDPAGE

#define DOCUMENTEVENT_ENDPAGE   7

Definition at line 58 of file winddiui.h.

◆ DOCUMENTEVENT_ESCAPE

#define DOCUMENTEVENT_ESCAPE   11

Definition at line 63 of file winddiui.h.

◆ DOCUMENTEVENT_EVENT

#define DOCUMENTEVENT_EVENT (   iX)    (LOWORD(iX))

Definition at line 92 of file winddiui.h.

◆ DOCUMENTEVENT_FAILURE

#define DOCUMENTEVENT_FAILURE   -1

Definition at line 91 of file winddiui.h.

◆ DOCUMENTEVENT_FIRST

#define DOCUMENTEVENT_FIRST   1

Definition at line 50 of file winddiui.h.

◆ DOCUMENTEVENT_FLAGS

#define DOCUMENTEVENT_FLAGS (   iX)    (HIWORD(iX))

Definition at line 93 of file winddiui.h.

◆ DOCUMENTEVENT_LAST

#define DOCUMENTEVENT_LAST   15

Definition at line 81 of file winddiui.h.

◆ DOCUMENTEVENT_QUERYFILTER

#define DOCUMENTEVENT_QUERYFILTER   14

Definition at line 67 of file winddiui.h.

◆ DOCUMENTEVENT_RESETDCPOST

#define DOCUMENTEVENT_RESETDCPOST   4

Definition at line 54 of file winddiui.h.

◆ DOCUMENTEVENT_RESETDCPRE

#define DOCUMENTEVENT_RESETDCPRE   3

Definition at line 53 of file winddiui.h.

◆ DOCUMENTEVENT_SPOOLED

#define DOCUMENTEVENT_SPOOLED   0x10000

Definition at line 88 of file winddiui.h.

◆ DOCUMENTEVENT_STARTDOC

#define DOCUMENTEVENT_STARTDOC   5

Definition at line 55 of file winddiui.h.

◆ DOCUMENTEVENT_STARTDOCPOST

#define DOCUMENTEVENT_STARTDOCPOST   13

Definition at line 65 of file winddiui.h.

◆ DOCUMENTEVENT_STARTDOCPRE

#define DOCUMENTEVENT_STARTDOCPRE   5

Definition at line 56 of file winddiui.h.

◆ DOCUMENTEVENT_STARTPAGE

#define DOCUMENTEVENT_STARTPAGE   6

Definition at line 57 of file winddiui.h.

◆ DOCUMENTEVENT_SUCCESS

#define DOCUMENTEVENT_SUCCESS   1

Definition at line 89 of file winddiui.h.

◆ DOCUMENTEVENT_UNSUPPORTED

#define DOCUMENTEVENT_UNSUPPORTED   0

Definition at line 90 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPOST

#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPOST   5

Definition at line 72 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRE

#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRE   2

Definition at line 69 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRINTTICKETPOST

#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRINTTICKETPOST   11

Definition at line 78 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRINTTICKETPRE

#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTPRINTTICKETPRE   8

Definition at line 75 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPOST

#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPOST   13

Definition at line 80 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRE

#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRE   1

Definition at line 68 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRINTTICKETPOST

#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRINTTICKETPOST   12

Definition at line 79 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRINTTICKETPRE

#define DOCUMENTEVENT_XPS_ADDFIXEDDOCUMENTSEQUENCEPRINTTICKETPRE   7

Definition at line 74 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDPAGEEPRE

#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEEPRE   3

Definition at line 70 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDPAGEPOST

#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPOST   4

Definition at line 71 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDPAGEPRINTTICKETPOST

#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPRINTTICKETPOST   10

Definition at line 77 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_ADDFIXEDPAGEPRINTTICKETPRE

#define DOCUMENTEVENT_XPS_ADDFIXEDPAGEPRINTTICKETPRE   9

Definition at line 76 of file winddiui.h.

◆ DOCUMENTEVENT_XPS_CANCELJOB

#define DOCUMENTEVENT_XPS_CANCELJOB   6

Definition at line 73 of file winddiui.h.

◆ DPS_NOPERMISSION

#define DPS_NOPERMISSION   0x0001

Definition at line 123 of file winddiui.h.

◆ DRIVER_EVENT_DELETE

#define DRIVER_EVENT_DELETE   2

Definition at line 98 of file winddiui.h.

◆ DRIVER_EVENT_INITIALIZE

#define DRIVER_EVENT_INITIALIZE   1

Definition at line 97 of file winddiui.h.

◆ PRINTER_EVENT_ADD_CONNECTION

#define PRINTER_EVENT_ADD_CONNECTION   1

Definition at line 100 of file winddiui.h.

◆ PRINTER_EVENT_ATTRIBUTES_CHANGED

#define PRINTER_EVENT_ATTRIBUTES_CHANGED   7

Definition at line 106 of file winddiui.h.

◆ PRINTER_EVENT_CACHE_DELETE

#define PRINTER_EVENT_CACHE_DELETE   6

Definition at line 105 of file winddiui.h.

◆ PRINTER_EVENT_CACHE_REFRESH

#define PRINTER_EVENT_CACHE_REFRESH   5

Definition at line 104 of file winddiui.h.

◆ PRINTER_EVENT_DELETE

#define PRINTER_EVENT_DELETE   4

Definition at line 103 of file winddiui.h.

◆ PRINTER_EVENT_DELETE_CONNECTION

#define PRINTER_EVENT_DELETE_CONNECTION   2

Definition at line 101 of file winddiui.h.

◆ PRINTER_EVENT_FLAG_NO_UI

#define PRINTER_EVENT_FLAG_NO_UI   1

Definition at line 108 of file winddiui.h.

◆ PRINTER_EVENT_INITIALIZE

#define PRINTER_EVENT_INITIALIZE   3

Definition at line 102 of file winddiui.h.

Typedef Documentation

◆ DEVICEPROPERTYHEADER

◆ DEVQUERYPRINT_INFO

◆ DOCEVENT_CREATEDCPRE

◆ DOCEVENT_ESCAPE

◆ DOCEVENT_FILTER

◆ DOCUMENTPROPERTYHEADER

◆ PDCEVENT_CREATEDCPRE

◆ PDEVICEPROPERTYHEADER

◆ PDEVQUERYPRINT_INFO

◆ PDOCEVENT_ESCAPE

◆ PDOCEVENT_FILTER

◆ PDOCUMENTPROPERTYHEADER

Function Documentation

◆ DevQueryPrintEx()

BOOL WINAPI DevQueryPrintEx ( PDEVQUERYPRINT_INFO  pDQPInfo)

Definition at line 636 of file printers.c.

637{
639 BOOL Ret = FALSE;
640
641 hLibrary = LoadPrinterDriver( pDQPInfo->hPrinter );
642
643 if ( hLibrary )
644 {
645 fpDevQueryPrintEx = (PVOID)GetProcAddress( hLibrary, "DevQueryPrintEx" );
646
647 if ( fpDevQueryPrintEx )
648 {
649 Ret = fpDevQueryPrintEx( pDQPInfo );
650 }
651
653 }
654 return Ret;
655}
HMODULE WINAPI LoadPrinterDriver(HANDLE hspool)
Definition: printers.c:488
static DEVQUERYPRINTEX fpDevQueryPrintEx
Definition: printers.c:39
HMODULE hLibrary
Definition: odbccp32.c:12
#define FALSE
Definition: types.h:117
#define GetProcAddress(x, y)
Definition: compat.h:753
#define FreeLibrary(x)
Definition: compat.h:748
unsigned int BOOL
Definition: ntddk_ex.h:94
void * PVOID
Definition: typedefs.h:50

◆ DrvDeviceCapabilities()

DWORD WINAPI DrvDeviceCapabilities ( HANDLE  ,
PWSTR  ,
WORD  ,
PVOID  ,
PDEVMODE   
)

◆ DrvDevicePropertySheets()

LONG WINAPI DrvDevicePropertySheets ( PPROPSHEETUI_INFO  ,
LPARAM   
)

◆ DrvDocumentEvent()

int WINAPI DrvDocumentEvent ( HANDLE  ,
HDC  ,
int  ,
ULONG  ,
PVOID  ,
ULONG  ,
PVOID   
)

◆ DrvDocumentPropertySheets()

LONG WINAPI DrvDocumentPropertySheets ( PPROPSHEETUI_INFO  ,
LPARAM   
)

◆ DrvDriverEvent()

BOOL WINAPI DrvDriverEvent ( DWORD  ,
DWORD  ,
LPBYTE  ,
LPARAM   
)

◆ DrvPrinterEvent()

BOOL WINAPI DrvPrinterEvent ( LPWSTR  ,
INT  ,
DWORD  ,
LPARAM   
)