共用方式為


2.2.3.6.2 Printer Change Flags for Use with a Server Handle

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

Name/value

Description

PRINTER_CHANGE_ADD_PRINTER_DRIVER

0x10000000

A printer driver was added.

PRINTER_CHANGE_DELETE_PRINTER_DRIVER

0x40000000

A printer driver was deleted.

PRINTER_CHANGE_PRINTER_DRIVER

0x70000000

A printer driver was changed in some way.

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

PRINTER_CHANGE_ADD_FORM

0x00010000

A form was added.

PRINTER_CHANGE_DELETE_FORM

0x00040000

A form was deleted.

PRINTER_CHANGE_SET_FORM

0x00020000

Form properties were configured.

PRINTER_CHANGE_FORM

0x00070000

A form was changed in some way.

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

PRINTER_CHANGE_ADD_PORT

0x00100000

A port was added.

PRINTER_CHANGE_CONFIGURE_PORT

0x00200000

Port properties were configured.

PRINTER_CHANGE_DELETE_PORT

0x00400000

A port was deleted.

PRINTER_CHANGE_PORT

0x00700000

A port was changed in some way.

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

PRINTER_CHANGE_ADD_PRINT_PROCESSOR

0x01000000

A print processor was added.

PRINTER_CHANGE_DELETE_PRINT_PROCESSOR

0x04000000

A print processor was deleted.

PRINTER_CHANGE_PRINT_PROCESSOR

0x07000000

The properties for a print processor were updated.

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

PRINTER_CHANGE_ADD_PRINTER

0x00000001

A printer object was added.

PRINTER_CHANGE_FAILED_CONNECTION_PRINTER

0x00000008

A connection to a printer object failed.<153>

PRINTER_CHANGE_SERVER

0x08000000

A change was made to one or more of the monitored server configuration settings.<154>

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