## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreEscape DEVESC_DEFAULTJOBPROPERTIES - Parameters

hdc (HDC) - input Device context handle.

lEscape (LONG) - input DEVESC_DEFAULTJOBPROPERTIES 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 structure that has DJP_NONE as its ulProperty value.

Note: The values contained within the DJP_ITEMs are ignored. The corresponding job property information will be reset.

pcOutCount (PLONG) - input Pointer to the number of bytes pointed to by pOutData.

pOutData (PLONG) - input Pointer to the printer driver's job properties structure

as returned by SplQueryQueue. These may have been modified by GreEscape DEVESC_SETJOBPROPERTIES.

Note: 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 Successful.

DEV_PROP_BUF_TOO_SMALL The job properties buffer was too small to contain the proper job properties data or expanded DJP_ITEMs. 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.

DEVESC_ERROR Error