InitializePrintProcessor


BOOL InitializePrintProcessor(
    LPTSTR            pRegisterRoot,
    LPPRINTPROCESSOR  pPrintProcessor
);

Sets up the function pointer table that registers with the spooler all the other entry points provided by the print processor (OpenPrintProcessor, ClosePrintProcessor, ControlPrintProcessor, EnumPrintProcessorDatatypes, and PrintDocumentOnPrintProcessor).

pRegisterRoot

Identifies the initialized print processor.

pPrintProcessor

Points to the PRINTPROCESSOR structure to put the function pointers to this print processor's other functions (OpenPrintProcessor, ClosePrintProcessor, ControlPrintProcessor, EnumPrintProcessorDatatypes, and PrintDocumentOnPrintProcessor).


See the definition of the PRINTPROCESSOR data structure in the WINSPLP.H header file for more information.