SetForm function winspool

int SetForm(
  1. int hPrinter,
  2. Pointer<Utf16> pFormName,
  3. int Level,
  4. Pointer<Uint8> pForm,
)

The SetForm function sets the form information for the specified printer.

BOOL SetFormW(
  _In_ HANDLE hPrinter,
  _In_ LPTSTR pFormName,
  _In_ DWORD  Level,
  _In_ LPTSTR pForm
);

Implementation

int SetForm(int hPrinter, Pointer<Utf16> pFormName, int Level,
        Pointer<Uint8> pForm) =>
    _SetForm(hPrinter, pFormName, Level, pForm);