Package com.sun.jna.platform.win32
Class Winspool.PRINTER_NOTIFY_INFO
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Winspool.PRINTER_NOTIFY_INFO
- Enclosing interface:
- Winspool
@FieldOrder({"Version","Flags","Count","aData"})
public static class Winspool.PRINTER_NOTIFY_INFO
extends Structure
The PRINTER_NOTIFY_INFO structure contains printer information returned
 by the FindNextPrinterChangeNotification function. The function returns
 this information after a wait operation on a printer change notification
 object has been satisfied.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionAn array of PRINTER_NOTIFY_INFO_DATA structures.intThe number of PRINTER_NOTIFY_INFO_DATA elements in the aData array.intA bit flag that indicates the state of the notification structure.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, 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 that indicates the state of the notification structure. If the PRINTER_NOTIFY_INFO_DISCARDED bit is set, it indicates that some notifications had to be discarded.
- 
Countpublic int CountThe number of PRINTER_NOTIFY_INFO_DATA elements in the aData array.
- 
aDataAn array of PRINTER_NOTIFY_INFO_DATA structures. Each element of the array identifies a single job or printer information field, and provides the current data for that field.
 
- 
- 
Constructor Details- 
PRINTER_NOTIFY_INFOpublic PRINTER_NOTIFY_INFO()
 
- 
- 
Method Details