Package com.sun.jna.platform.win32
Class Winspool.PRINTER_NOTIFY_OPTIONS
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Winspool.PRINTER_NOTIFY_OPTIONS
- Enclosing interface:
- Winspool
@FieldOrder({"Version","Flags","Count","pTypes"})
public static class Winspool.PRINTER_NOTIFY_OPTIONS
extends Structure
The PRINTER_NOTIFY_OPTIONS structure specifies options for a change
 notification object that monitors a printer or print server.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintThe number of elements in the pTypes array.intA bit flag.A pointer to an array of PRINTER_NOTIFY_OPTIONS_TYPE structures.intThe version of this structure.Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
- 
Field Details- 
Versionpublic int VersionThe version of this structure. Set this member to 2.
- 
Flagspublic int FlagsA bit flag. If you set the PRINTER_NOTIFY_OPTIONS_REFRESH flag in a call to the FindNextPrinterChangeNotification function, the function provides current data for all monitored printer information fields. The FindFirstPrinterChangeNotification function ignores the Flags member.
- 
Countpublic int CountThe number of elements in the pTypes array.
- 
pTypesA pointer to an array of PRINTER_NOTIFY_OPTIONS_TYPE structures. Use one element of this array to specify the printer information fields to monitor, and one element to specify the job information fields to monitor. You can monitor either printer information, job information, or both.
 
- 
- 
Constructor Details- 
PRINTER_NOTIFY_OPTIONSpublic PRINTER_NOTIFY_OPTIONS()
 
-