The returned contents in the buffer depend on the value specified in ulLevel
as follows:
ulLevel
Buffer Contents
3
An array of PRQINFO3
structures. The fsType bit PRQ3_TYPE_APPDEFAULT is set for the
application default queue only.
4
An
array of *pcReturnedPRQINFO3 structures
in which each PRQINFO3 structure is
followed by an array of PRJINFO2 structures,
one for each job in the queue. cJobs in the PRQINFO3
structure gives the number of jobs in the array.
An array
of pcReturnedPRQINFO3 structures
in which each PRQINFO3 structure is
followed by an array of PRJINFO4 structures,
one for each job in the queue. cJobs in the PRQINFO3
structure gives the number of jobs in the array.