SetForm function winspool

bool SetForm(
  1. PRINTER_HANDLE hPrinter,
  2. PCWSTR pFormName,
  3. int level,
  4. Pointer<Uint8> pForm,
)

Sets the form information for the specified printer.

To learn more, see learn.microsoft.com/windows/win32/printdocs/setform.

Implementation

@pragma('vm:prefer-inline')
bool SetForm(
  PRINTER_HANDLE hPrinter,
  PCWSTR pFormName,
  int level,
  Pointer<Uint8> pForm,
) => _SetForm(hPrinter, pFormName, level, pForm) != FALSE;