ClosePrintProcessor

BOOL ClosePrintProcessor(

HANDLE hPrintProcessor
);

ClosePrintProcessor closes the instance of the print processor indicated by hPrintProcessor.

Parameters

hPrintProcessor

Handle to an open instance of the print processor to close.

Return Value

The function returns TRUE if it is successful. Otherwise it returns FALSE, and the logged error can be retrieved by a call to GetLastError.

Comments

ClosePrintProcessor frees all resources allocated at the time the instance was opened.

See Also

OpenPrintProcessor