GetForm function winspool

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

The GetForm function retrieves information about a specified form.

BOOL GetFormW(
  _In_  HANDLE  hPrinter,
  _In_  LPWSTR  pFormName,
  _In_  DWORD   Level,
  _Out_ LPBYTE  pForm,
  _In_  DWORD   cbBuf,
  _Out_ LPDWORD pcbNeeded
);

Implementation

int GetForm(int hPrinter, Pointer<Utf16> pFormName, int Level,
        Pointer<Uint8> pForm, int cbBuf, Pointer<Uint32> pcbNeeded) =>
    _GetForm(hPrinter, pFormName, Level, pForm, cbBuf, pcbNeeded);