dClosePrinter

Closes the specified printer handle.

 

BOOL   dClosePrinter(HWND MainWnd, LPLONG lpLong, LPTSTR lpString)

 

notepa

Input value: MainWnd                - handle to a window

Input value: lpLong                                - pointer to a long value. Not used, the value can be 0.

Input value: lpString      -                       - pointer to a string value. The value is not used, can be

NULL

Return value                                         - Returns 0 on success, otherwise returns 3

 

NOTE:  This function is outdated, no longer recommended.