USERDATA structure

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 nonlocalized text string identifying a printer feature.

dwReserved

Reserved.

Requirements

   
Header printoem.h (include Printoem.h)