// printoem.h
typedef struct _USERDATA {
DWORD dwSize;
ULONG_PTR dwItemID;
PSTR pKeyWordName;
DWORD dwReserved[8];
} USERDATA, *PUSERDATA;
View the official Windows Driver Kit DDI referenceNo description available.
The USERDATA structure is used by Unidrv and Pscript to specify additional information about printer features. A USERDATA structure pointer is supplied as the UserData member for each OPTITEM structure.
dwSizeSize, in bytes, of the USERDATA structure.
dwItemIDPrinter feature identifier.
pKeyWordNamePointer to a non-localized text string identifying a printer feature.
dwReservedReserved.