hdc (HDC) - input
lEscape (LONG) - input
DEVESC_SETJOBPROPERTIES
escape code.
cInCount (LONG) - input
Number
of bytes pointed to by pInData.
pInData (PBYTE) - output
Pointer
to a list of DJP_ITEM data structures.
The end of the list is indicated by a DJP_ITEM
data structure that has DJP_NONE as its ulProperty value.
pcOutCount (PLONG) - input
Number
of bytes pointed to by pOutData.
pOutData (PLONG) - input
Pointer
to the printer driver's job properties structure
as returned by SplQueryQueue. On
output, the job properties are changed.
pInstance (PVOID) - input
Pointer
to instance data.
lFunction (ULONG) - input
High-order
WORD=flags; low-order WORD=NGreEscape.
rc (LONG) - returns
Return
Code.
The handling routine returns:
DEV_OK
DEV_PROP_BUF_TOO_SMALL
Job properties buffer was too small to contain
the proper job properties data. The buffer will not be updated.
DEV_INV_INP_JOBPROPERTIES
Invalid job properties were passed in. The driver
changed them to default values. This is an error and the item buffer will
not be updated.
DEV_WARNING