BOOL DeleteForm(hPrinter, pFormName) | |||
HANDLE hPrinter; | |||
LPSTR pFormName; |
The DeleteForm function removes a Form that had previously been added with the AddForm function.
hPrinter
Indicates the open Printer handle that this function is to be performed upon. This Handle is obtained with the OpenPrinter function.
pFormName
Specifies the Form Name to be removed.
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.