Export (0) Print
Expand All

2.2.3.6.1 Printer Change Flags for Use with a Printer Handle

These flags are for use with a printer handle, and all other bits MUST be ignored when used with a printer handle:

Constant/value

Description

PRINTER_CHANGE_SET_PRINTER

0x00000002

Printer object properties were configured.

PRINTER_CHANGE_DELETE_PRINTER

0x00000004

A printer object was deleted.

PRINTER_CHANGE_PRINTER

0x000000FF

A printer object changed in some way.

A client can use this value to indicate that it accepts all change notifications regarding printers. The server SHOULD set only the individual flags corresponding to the changes that actually occurred.

PRINTER_CHANGE_ADD_JOB

0x00000100

A print job was added.

PRINTER_CHANGE_SET_JOB

0x00000200

Print job properties were configured.

PRINTER_CHANGE_DELETE_JOB

0x00000400

A print job was deleted.

PRINTER_CHANGE_WRITE_JOB

0x00000800

A print job was written.

PRINTER_CHANGE_JOB

0x0000FF00

A print job changed in some way.

A client can use this value to indicate that it accepts all change notifications regarding print jobs. The server SHOULD set only the individual flags corresponding to the changes that actually occurred.

PRINTER_CHANGE_SET_PRINTER_DRIVER

0x20000000

A printer driver was specified.<193>

PRINTER_CHANGE_TIMEOUT

0x80000000

Returned by RpcWaitForPrinterChange (section 3.1.4.10.1) if the implementation-specific timeout has expired.

PRINTER_CHANGE_ALL

0x7777FFFF

A change was made to one or more printer-related objects, including print job, form, port, processor, or printer driver, or to the printer object itself.

A client can use this value to indicate that it is interested in all change notifications. The server SHOULD set only the individual flags corresponding to the changes that actually occurred.<194>

PRINTER_CHANGE_ALL_2

0x7F77FFFF

Identical with PRINTER_CHANGE_ALL (0x7777FFFF).<195>

For more information about the rules governing printer change values, see section 2.2.4.13.

 
Show:
© 2014 Microsoft