USERDATA - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// printoem.h

typedef struct _USERDATA {
  DWORD     dwSize;
  ULONG_PTR dwItemID;
  PSTR      pKeyWordName;
  DWORD     dwReserved[8];
} USERDATA, *PUSERDATA;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-printoem-_userdata)

Description

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.

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

Reserved.