AddJob function winspool
The AddJob function adds a print job to the list of print jobs that can be scheduled by the print spooler. The function retrieves the name of the file you can use to store the job.
BOOL AddJobW(
_In_ HANDLE hPrinter,
_In_ DWORD Level,
_Out_ LPBYTE pData,
_In_ DWORD cbBuf,
_Out_ LPDWORD pcbNeeded
);
Implementation
int AddJob(int hPrinter, int Level, Pointer<Uint8> pData, int cbBuf,
Pointer<Uint32> pcbNeeded) =>
_AddJob(hPrinter, Level, pData, cbBuf, pcbNeeded);