PRINTER_NOTIFY_OPTIONS_TYPE

The PRINTER_NOTIFY_OPTIONS_TYPE structure specifies the set of printer or job information fields to be monitored by a printer change notification object.

A call to the FindFirstPrinterChangeNotification function specifies a PRINTER_NOTIFY_OPTIONS structure, which contains an array of PRINTER_NOTIFY_OPTIONS_TYPE structures.

typedef struct _PRINTER_NOTIFY_OPTIONS_TYPE { 
    WORD   Type; 
    WORD   Reserved0; 
    DWORD  Reserved1; 
    DWORD  Reserved2; 
    DWORD  Count; 
    PWORD  pFields; 
} PRINTER_NOTIFY_OPTIONS_TYPE; 
 

Members

Type
Specifies the type to watch. This member can be one of the following values:
Value Meaning
PRINTER_NOTIFY_TYPE Indicates that the fields specified in the pFields array are PRINTER_NOTIFY_FIELD_* constants.
JOB_NOTIFY_TYPE Indicates that the fields specified in the pFields array are JOB_NOTIFY_FIELD_* constants.

Reserved0
Reserved.
Reserved1
Reserved.
Reserved2
Reserved.
Count
Specifies the number of elements in the pFields array.
pFields
Pointer to an array of 16-bit values. Each element of the array specifies a job or printer information field of interest. For a list of supported printer and job information fields, see the PRINTER_NOTIFY_INFO_DATA structure.

QuickInfo

  Windows NT: Requires version 3.51 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winspool.h.

See Also

Printing and Print Spooler Overview, Printing and Print Spooler Structures, FindFirstPrinterChangeNotification, PRINTER_NOTIFY_INFO_DATA, PRINTER_NOTIFY_OPTIONS