PRINTER_EVENT_ATTRIBUTES_INFO structure

The PRINTER_EVENT_ATTRIBUTES_INFO structure contains the former attributes and the new attributes for a printer.

Syntax


typedef struct _PRINTER_EVENT_ATTRIBUTES_INFO {
  DWORD cbSize;
  DWORD dwOldAttributes;
  DWORD dwNewAttributes;
} PRINTER_EVENT_ATTRIBUTES_INFO, *PPRINTER_EVENT_ATTRIBUTES_INFO;

Members

cbSize

Specifies the size of this structure.

dwOldAttributes

A set of bits describing the current printer attributes.

dwNewAttributes

A set of bits describing the new printer attributes to be applied to the printer.

Remarks

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.

Requirements

Header

Winddiui.h (include Winddiui.h)

See also

DrvPrinterEvent
IPrintOemUI::PrinterEvent

 

 

Send comments about this topic to Microsoft

Show: