2.2.1.7.2 JOB_INFO_2

The JOB_INFO_2 structure provides information about a print job.

 typedef struct _JOB_INFO_2 {
   DWORD JobId;
   [string] wchar_t* pPrinterName;
   [string] wchar_t* pMachineName;
   [string] wchar_t* pUserName;
   [string] wchar_t* pDocument;
   [string] wchar_t* pNotifyName;
   [string] wchar_t* pDatatype;
   [string] wchar_t* pPrintProcessor;
   [string] wchar_t* pParameters;
   [string] wchar_t* pDriverName;
   ULONG_PTR pDevMode;
   [string] wchar_t* pStatus;
   ULONG_PTR pSecurityDescriptor;
   DWORD Status;
   DWORD Priority;
   DWORD Position;
   DWORD StartTime;
   DWORD UntilTime;
   DWORD TotalPages;
   DWORD Size;
   SYSTEMTIME Submitted;
   DWORD Time;
   DWORD PagesPrinted;
 } JOB_INFO_2;

All members not defined in this section are specified in sections 2.2.1.3.3 and 2.2.1.3.