2.2.1.13.4 RPC_V2_NOTIFY_INFO_DATA
The RPC_V2_NOTIFY_INFO_DATA structure specifies printer or print job notification information data.<77>
-
typedef struct _RPC_V2_NOTIFY_INFO_DATA { unsigned short Type; unsigned short Field; DWORD Reserved; DWORD Id; [switch_is(Reserved & 0xFFFF)] RPC_V2_NOTIFY_INFO_DATA_DATA Data; } RPC_V2_NOTIFY_INFO_DATA;
Type: The type of notification information that is contained in this structure. This MUST be one of the following values:
-
Name/value
Description
PRINTER_NOTIFY_TYPE
0x0000
Printer-related notifications
JOB_NOTIFY_TYPE
0x0001
Job-related notifications
Field: The member that changed using the printer notification values and job notification values in sections 2.2.3.8 and 2.2.3.3.
Reserved: The member of the RPC_V2_NOTIFY_INFO_DATA_DATA union (section 2.2.1.13.5) that is used to specify the data type of the Data member. Only the 16 least-significant bits of this member are used. The value of these bits MUST be one of the Notification Data Type values (section 2.2.3.5).
Id: The job identifier if the Type member specifies JOB_NOTIFY_TYPE; otherwise, this value MUST be ignored.
Data: The data determined by the values of the Type and Reserved members of this structure. The data is in an RPC_V2_NOTIFY_INFO_DATA_DATA structure using the data type specified by the value of the Reserved member.