// winddiui.h
typedef struct _DEVICEPROPERTYHEADER {
WORD cbSize;
WORD Flags;
HANDLE hPrinter;
LPTSTR pszPrinterName;
} DEVICEPROPERTYHEADER, *PDEVICEPROPERTYHEADER;
View the official Windows Driver Kit DDI referenceNo description available.
The DEVICEPROPERTYHEADER structure is used as an input parameter to a printer interface DLL's DrvDevicePropertySheets function.
cbSizeSize, in bytes, of the DEVICEPROPERTYHEADER structure.
FlagsIs 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. |
hPrinterPrinter handle.
pszPrinterNamePointer to a NULL-terminated string representing a printer name.