EnumForms function winspool
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);