Supporting Printer Interface Driver Functions
A Windows NT printer interface driver must support several DDI functions. In addition, the printer interface driver can optionally hook GDI printer management functions such that it can perform pre- and/or post-processing on data in user mode. Function declarations and structure definitions can be found in winddiui.h, which is shipped with the Windows NT DDK.
The topics that follow list the required and optional DDI functions for printer interface drivers.