Deletes the specified printer driver.
BOOL dDeletePrinterDriver(HWND MainWnd, LPLONG lpLong, LPSTR lpStringTmp)
Input value: MainWnd |
windows handle. |
Input value: LpLong |
not used, the value can be NULL. |
Input value: lpStringTmp |
Specifies the name of the printer driver to be deleted. |
Return value |
Returns FALSE if the printer driver could not be deleted. |
One of the most common error is Error code: 1797:
Meaning: The dDeletePrinterDriver function cannot find the given printer driver, and therefore the given printer driver cannot be deleted.