The PRINTER_EVENT_ATTRIBUTES_INFO structure contains the former attributes and the new attributes for a printer.
typedef struct _PRINTER_EVENT_ATTRIBUTES_INFO {
DWORD cbSize;
DWORD dwOldAttributes;
DWORD dwNewAttributes;
} PRINTER_EVENT_ATTRIBUTES_INFO, *PPRINTER_EVENT_ATTRIBUTES_INFO;
Declared in winspool.h. Include winspool.h.
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 Platform 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.