Print-job information structure.
This structure provides a subset of the information supplied by PRJINFO3. It minimizes the storage required for job-information retrieval, and is sufficient for most uses.
typedef struct _PRJINFO2 { USHORT uJobId; /* Job identification number. */ USHORT uPriority; /* Job priority. */ PSZ pszUserName; /* User who submitted the job. */ USHORT uPosition; /* Job position in queue. */ USHORT fsStatus; /* Job status. */ ULONG ulSubmitted; /* Time job submitted. */ ULONG ulSize; /* Print-job size (bytes). */ PSZ pszComment; /* Comment string. */ PSZ pszDocument; /* Document name. */ } PRJINFO2; typedef PRJINFO2 * PPRJINFO2 ;