Jump to content

PRQINFO3: Difference between revisions

From EDM2
Created page with "Print-queue information structure. This structure is used at information levels 3 and 4. ==Example Code== <PRE> typedef struct _PRQINFO3 { PSZ pszName; ..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Print-queue information structure.  
Print-queue information structure.


This structure is used at information levels 3 and 4.  
This structure is used at information levels 3 and 4.


==Example Code==
<PRE>
<PRE>
typedef struct _PRQINFO3 {
typedef struct _PRQINFO3 {
   PSZ          pszName;       /*  Queue name. */
   PSZ          pszName;       /*  Queue name. */
   USHORT        uPriority;     /*  Queue priority. */
   USHORT        uPriority;     /*  Queue priority. */
   USHORT        uStartTime;     /*  Minutes after midnight when queue becomes active. */
   USHORT        uStartTime;   /*  Minutes after midnight when queue becomes active. */
   USHORT        uUntilTime;     /*  Minutes after midnight. when queue ceases to be active. */
   USHORT        uUntilTime;   /*  Minutes after midnight. when queue ceases to be active. */
   USHORT        fsType;         /*  Queue type. */
   USHORT        fsType;       /*  Queue type. */
   PSZ          pszSepFile;     /*  Separator-page file. */
   PSZ          pszSepFile;   /*  Separator-page file. */
   PSZ          pszPrProc;     /*  Default queue-processor. */
   PSZ          pszPrProc;     /*  Default queue-processor. */
   PSZ          pszParms;       /*  Queue parameters. */
   PSZ          pszParms;     /*  Queue parameters. */
   PSZ          pszComment;     /*  Queue description. */
   PSZ          pszComment;   /*  Queue description. */
   USHORT        fsStatus;       /*  Queue status. */
   USHORT        fsStatus;     /*  Queue status. */
   USHORT        cJobs;         /*  Number of jobs in queue. */
   USHORT        cJobs;         /*  Number of jobs in queue. */
   PSZ          pszPrinters;   /*  Print devices connected to queue. */
   PSZ          pszPrinters;   /*  Print devices connected to queue. */
   PSZ          pszDriverName; /*  Default device driver. */
   PSZ          pszDriverName; /*  Default device driver. */
   PDRIVDATA    pDriverData;   /*  Default queue job properties. */
   PDRIVDATA    pDriverData;   /*  Default queue job properties. */
} PRQINFO3;
} PRQINFO3;


typedef PRQINFO3 *PPRQINFO3;
typedef PRQINFO3 *PPRQINFO3;
</PRE>
</PRE>


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

Latest revision as of 12:17, 21 February 2020

Print-queue information structure.

This structure is used at information levels 3 and 4.

typedef struct _PRQINFO3 {
  PSZ           pszName;       /*  Queue name. */
  USHORT        uPriority;     /*  Queue priority. */
  USHORT        uStartTime;    /*  Minutes after midnight when queue becomes active. */
  USHORT        uUntilTime;    /*  Minutes after midnight. when queue ceases to be active. */
  USHORT        fsType;        /*  Queue type. */
  PSZ           pszSepFile;    /*  Separator-page file. */
  PSZ           pszPrProc;     /*  Default queue-processor. */
  PSZ           pszParms;      /*  Queue parameters. */
  PSZ           pszComment;    /*  Queue description. */
  USHORT        fsStatus;      /*  Queue status. */
  USHORT        cJobs;         /*  Number of jobs in queue. */
  PSZ           pszPrinters;   /*  Print devices connected to queue. */
  PSZ           pszDriverName; /*  Default device driver. */
  PDRIVDATA     pDriverData;   /*  Default queue job properties. */
} PRQINFO3;

typedef PRQINFO3 *PPRQINFO3;