DEVICEPROPERTYHEADER structure (winddiui.h)

The DEVICEPROPERTYHEADER structure is used as an input parameter to a printer interface DLL's DrvDevicePropertySheets function.

Syntax

typedef struct _DEVICEPROPERTYHEADER {
  WORD   cbSize;
  WORD   Flags;
  HANDLE hPrinter;
  LPTSTR pszPrinterName;
} DEVICEPROPERTYHEADER, *PDEVICEPROPERTYHEADER;

Members

cbSize

Size, in bytes, of the DEVICEPROPERTYHEADER structure.

Flags

Is a set of flags that can be set to the following value:

Value Meaning
DPS_NOPERMISSION If set, the user is not permitted to update device settings.

hPrinter

Printer handle.

pszPrinterName

Pointer to a NULL-terminated string representing a printer name.

Requirements

Requirement Value
Header winddiui.h (include Winddiui.h)