EnumForms function winspool

int EnumForms(
  1. int hPrinter,
  2. int Level,
  3. Pointer<Uint8> pForm,
  4. int cbBuf,
  5. Pointer<Uint32> pcbNeeded,
  6. Pointer<Uint32> pcReturned,
)

The EnumForms function enumerates the forms supported by the specified printer.

BOOL EnumFormsW(
  _In_  HANDLE  hPrinter,
  _In_  DWORD   Level,
  _Out_ LPBYTE  pForm,
  _In_  DWORD   cbBuf,
  _Out_ LPDWORD pcbNeeded,
  _Out_ LPDWORD pcReturned
);

Implementation

int EnumForms(
  int hPrinter,
  int Level,
  Pointer<Uint8> pForm,
  int cbBuf,
  Pointer<Uint32> pcbNeeded,
  Pointer<Uint32> pcReturned,
) => _EnumForms(hPrinter, Level, pForm, cbBuf, pcbNeeded, pcReturned);