// winddiui.h
typedef struct _PRINTER_EVENT_ATTRIBUTES_INFO {
DWORD cbSize;
DWORD dwOldAttributes;
DWORD dwNewAttributes;
} PRINTER_EVENT_ATTRIBUTES_INFO, *PPRINTER_EVENT_ATTRIBUTES_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
The PRINTER_EVENT_ATTRIBUTES_INFO structure contains the former attributes and the new attributes for a printer.
cbSizeSpecifies the size of this structure.
dwOldAttributesA set of bits describing the current printer attributes.
dwNewAttributesA set of bits describing the new printer attributes to be applied to the printer.
The bits in the dwOldAttributes and dwNewAttributes members of this structure are set in accordance with the Attributes member of the PRINTER_INFO_2 structure (defined in the Microsoft Windows SDK documentation).
Because this structure might become larger in future operating system versions, anyone using this structure is advised to check that the value in the cbSize member of this structure is at least as large as the offset of the member to be accessed.