BOOL ClosePrinter(hPrinter) | |||
HANDLE hPrinter; |
The function Closes the Printer that was previously Opened with the OpenPrinter function.
hPrinter
Specifies the handle of the Printer to be closed.
The return value is TRUE if the function was successful, or FALSE if an error occurred. To obtain extended error information, use the GetLastError function.