GetJob function winspool

int GetJob(
  1. int hPrinter,
  2. int JobId,
  3. int Level,
  4. Pointer<Uint8> pJob,
  5. int cbBuf,
  6. Pointer<Uint32> pcbNeeded,
)

The GetJob function retrieves information about a specified print job.

BOOL GetJobW(
  _In_  HANDLE  hPrinter,
  _In_  DWORD   JobId,
  _In_  DWORD   Level,
  _Out_ LPBYTE  pJob,
  _In_  DWORD   cbBuf,
  _Out_ LPDWORD pcbNeeded
);

Implementation

int GetJob(int hPrinter, int JobId, int Level, Pointer<Uint8> pJob, int cbBuf,
        Pointer<Uint32> pcbNeeded) =>
    _GetJob(hPrinter, JobId, Level, pJob, cbBuf, pcbNeeded);