This structure is used to set and query printer properties or job properties.
typedef struct _DJP_ITEM { ULONG cb; /* Size of the DJP_ITEM structure. */ ULONG ulProperty; /* Identifies specific job property. */ LONG lType; /* Property type. */ ULONG ulNumReturned; /* Number of elements that have been returned. */ ULONG ulValue; /* Size is variable based on ulProperty. */ } DJP_ITEM; typedef DJP _ ITEM * PDJP _ ITEM ;