## Presentation Device Driver Reference for OS/2

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

### GreEscape DEVESC_SETJOBPROPERTIES Return Value - rc

rc (LONG) - returns Return Code.

The handling routine returns:

DEV_OK Successful.

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 One or more of the DJP_ITEMs has an error in the lType field.

Valid input for lType is as follows:

DJP_CURRENT The application requests the current value to be changed in the input job properties.

The following are valid output for the lType field:

DJP_CURRENT Unchanged; successful query.

DJP_ERROR_NOT_SUPPORTED The driver does not support the value in the ulProperty field of the DJP_ITEMs data structure.

DEVESC_ERROR_INV_PARMS The value in the ulValue field of the DJP_ITEMs data structure is not valid.

DJP_ERROR_OUT_OF_RANGE The value in ulValue is not in the valid range for the specified property.

DJP_ERROR Error