A print processor's ClosePrintProcessor function completes the printing of a print job and makes the associated handle invalid.
BOOL ClosePrintProcessor( HANDLE hPrintProcessor );
Caller-supplied print processor handle. This is the handle returned by a previous call to OpenPrintProcessor.
If the operation succeeds, the function should return TRUE. If the operation fails, the function should call SetLastError to set an error code, and then return FALSE.
Print processors are required to export a ClosePrintProcessor function. The spooler calls the function after the print processor's PrintDocumentOnPrintProcessor returns. The function should free all resources that were allocated by the OpenPrintProcessor function.
|Header||winsplp.h (include Winsplp.h)|