Level 2 is unique in that it is followed by a print job level 1 structure (described in Print Job Level 1) for every print job in the queue.

typedef struct _PRQINFO }
    CHAR    szName[QNLEN+1];
    CHAR    pad_1;
    USHORT  uPriority;
    USHORT  uStarttime;
    USHORT  uUntiltime;
    PSZ     pszSepFile;
    PSZ     pszPrProc;
    PSZ     pszDestinations;
    PSZ     pszParms;
    PSZ     pszComment;
    USHORT  fsStatus;
    USHORT  cJobs;
} PRQINFO;

where all the fields in this data structure are identical to those in the previous level.


[Back] [Next]