typedef struct _PRINTPROCESSOROPENDATA {
DEVMODE W *pDevmode;
LPWSTR pDatatype;
LPWSTR pParameters;
LPWSTR pDocumentName;
DWORD JobId;
LPWSTR pOutputFile;
LPWSTR pPrinterName;
} PRINTPROCESSOROPENDATA, *PPRINTPROCESSOROPENDATA *LPPRINTPROCESSOROPENDATA;
The PRINTPROCESSOROPENDATA structure provides information that the print processor needs in order to open itself. The spooler initializes this structure when it starts a new thread to play back a spooled file. It then passes the initialized structure to the print processor with a call to OpenPrintProcessor.