Partager via


2.2.3.2 Change Notification Flags

The Change Notification Flags specify change notification information and options.<147>

The following bit flag is set by a print server in the Flags member of an RPC_V2_NOTIFY_INFO structure (section 2.2.1.13.3).

Name/value

Description

PRINTER_NOTIFY_INFO_DISCARDED

0x00000001

An overflow or error has occurred, and notifications have been lost. The print server MUST NOT send additional notifications until the client has made a call to RpcRouterRefreshPrinterChangeNotification (section 3.1.4.10.5).

The following bit flags are set by a print client in the variable pointed to by the pdwResult parameter in a call to RpcRouterReplyPrinterEx (section 3.2.4.1.4). They are used to indicate the results of processing the state of an RPC_V2_NOTIFY_INFO structure.

These flags can be combined to specify multiple results.

Name/value

Description

PRINTER_NOTIFY_INFO_DISCARDNOTED

0x00010000

The client acknowledges receiving and processing the PRINTER_NOTIFY_INFO_DISCARDED notification.

PRINTER_NOTIFY_INFO_COLORMISMATCH

0x00080000

The value of the dwColor parameter in a call to RpcRouterReplyPrinterEx does not match the value the client previously passed to the server in a call to RpcRouterRefreshPrinterChangeNotification.

The following bit flag is set by a print client in the Reserved member of an RPC_V2_NOTIFY_OPTIONS structure (section 2.2.1.13.1).

Name/value

Description

PRINTER_NOTIFY_OPTIONS_REFRESH

0x00000001

Refreshed data is requested from the server for all monitored members.