共用方式為


2.2.1.13.3 RPC_V2_NOTIFY_INFO

The RPC_V2_NOTIFY_INFO structure specifies printer or print job notification information.<76>

 typedef struct _RPC_V2_NOTIFY_INFO {
   DWORD Version;
   DWORD Flags;
   DWORD Count;
   [size_is(Count), unique] RPC_V2_NOTIFY_INFO_DATA aData[];
 } RPC_V2_NOTIFY_INFO;

Version: The version of the structure. The value of this member MUST be 0x00000002.

Flags: A bit field that specifies the state of the notification structure.

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).

Count: The number of RPC_V2_NOTIFY_INFO_DATA structures (section 2.2.1.13.4) in the aData array.

aData: An array of RPC_V2_NOTIFY_INFO_DATA structures, each of which identifies a single print job or printer information member and specifies the current data for that member.