If your device does not have a DJP_ITEM in its job properties, then the following strategy should be implemented:
for DEVESC_QUERYSIZE return the sizeof (DJP_ITEM) pQuerySize->ulSizeNeeded += sizeof (DJP_ITEM); for DEVESC_QUERYJOBPROPERTIES pIQuery->ulNumReturned = 0; pIQuery->ulValue = DJP_NONE; pIQuery->lType = DJP_ERROR_NOT_SUPPORTED; and return DEV_WARNING for DEVESC_SETJOBPROPERTIES pISet->lType = DJP_ERROR_NOT_SUPPORTED; and return DEV_WARNING