Export (0) Print
Expand All

2.2.1.13.2 RPC_V2_NOTIFY_OPTIONS_TYPE

The RPC_V2_NOTIFY_OPTIONS_TYPE structure MUST specify the set of printer or job information members to be monitored by a printer change notification object.<85>

typedef struct _RPC_V2_NOTIFY_OPTIONS_TYPE {
  unsigned short Type;
  unsigned short Reserved0;
  DWORD Reserved1;
  DWORD Reserved2;
  DWORD Count;
  [size_is(Count), unique] unsigned short* pFields;
} RPC_V2_NOTIFY_OPTIONS_TYPE;

Type: The value of this member specifies the type of notification to watch for. The value of this member MUST be one of the constant values from the following table.

Name/Value Meaning

PRINTER_NOTIFY_TYPE
0x0000

Indicates that the members specified in the array that is pointed to by the pFields member are printer notification constants.

JOB_NOTIFY_TYPE
0x0001

Indicates that the members specified in the array that is pointed to by the pFields member are job notification constants.

SERVER_NOTIFY_TYPE
0x0002

Indicates that the members specified in the array that is pointed to by the pFields member are server notification constants.<86>

Reserved0: The value of this member MUST be set to zero when sent and MUST be ignored on receipt.

Reserved1: The value of this member MUST be set to zero when sent and MUST be ignored on receipt.

Reserved2: The value of this member MUST be set to zero when sent and MUST be ignored on receipt.

Count: The value of this member MUST specify the number of elements in the pFields array.

pFields: This member MUST be a non-NULL pointer to an array that MUST identify the job or printer information members to be monitored. The array MUST consist entirely of elements that are either job notification values (as specified in section 2.2.3.3) or printer notification values (as specified in section 2.2.3.8), depending on the value of the Type member. The two types of notification values MUST NOT be mixed within a given instance of the array.

 
Show:
© 2015 Microsoft