EnumJobs function Null safety winspool

int EnumJobs(
  1. int hPrinter,
  2. int FirstJob,
  3. int NoJobs,
  4. int Level,
  5. Pointer<Uint8> pJob,
  6. int cbBuf,
  7. Pointer<Uint32> pcbNeeded,
  8. Pointer<Uint32> pcReturned

The EnumJobs function retrieves information about a specified set of print jobs for a specified printer.

BOOL EnumJobsW(
  _In_  HANDLE  hPrinter,
  _In_  DWORD   FirstJob,
  _In_  DWORD   NoJobs,
  _In_  DWORD   Level,
  _Out_ LPBYTE  pJob,
  _In_  DWORD   cbBuf,
  _Out_ LPDWORD pcbNeeded,
  _Out_ LPDWORD pcReturned


int EnumJobs(
        int hPrinter,
        int FirstJob,
        int NoJobs,
        int Level,
        Pointer<Uint8> pJob,
        int cbBuf,
        Pointer<Uint32> pcbNeeded,
        Pointer<Uint32> pcReturned) =>
        hPrinter, FirstJob, NoJobs, Level, pJob, cbBuf, pcbNeeded, pcReturned);