USERDATA structure (printoem.h)

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.

Syntax

typedef struct _USERDATA {
  DWORD     dwSize;
  ULONG_PTR dwItemID;
  PSTR      pKeyWordName;
  DWORD     dwReserved[8];
} USERDATA, *PUSERDATA;

Members

dwSize

Size, in bytes, of the USERDATA structure.

dwItemID

Printer feature identifier.

pKeyWordName

Pointer to a non-localized text string identifying a printer feature.

dwReserved[8]

Reserved.

Requirements

Requirement Value
Header printoem.h (include Printoem.h)