Jump to content

PRJINFO2: Difference between revisions

From EDM2
Created page with "Print-job information structure. This structure provides a subset of the information supplied by PRJINFO3. It minimizes the storage required for job-information retrieval, a..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Print-job information structure.  
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.  
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.
 
==Example Code==
<PRE>
<PRE>
typedef struct _PRJINFO2 {
typedef struct _PRJINFO2 {
Line 18: Line 16:


typedef PRJINFO2 *PPRJINFO2;
typedef PRJINFO2 *PPRJINFO2;
</PRE>
</PRE>


[[Category:Data type]]
[[Category:PM Data type]]

Latest revision as of 12:22, 21 February 2020

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;