DosPrintJobGetId returns the PRIDINFO data structure:
typedef struct _PRIDINFO {
USHORT uJobId;
CHAR szServer[CNLEN+1];
CHAR szQName[QNLEN+1];
CHAR pad_1;
} PRIDINFO;
where:
- uJobId specifies the identification number
assigned to the print job when it was queued. The identification number
is unique on a particular computer. The machine ID and uJobId combined
are sufficient to identify a particular print job uniquely.
- szServer specifies an ASCIIZ string that contains
the name of the machine handling the print job. The constant CNLEN is defined
in the PMSPL.H header file. If the name has more than CNLEN bytes, a null
string is returned.
- szQName specifies an ASCIIZ string that contains
the name of the printer queue for the job. The constant QNLEN is defined
in the PMSPL.H header file. If the name has more than QNLEN bytes, a null
string is returned.
- pad_1 word-aligns the data structure component.
[Back]
[Next]