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 Summary
Nested classes/interfaces inherited from class com.sun.jna.Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
-
Field Summary
FieldsModifier and TypeFieldDescriptionAn array of PRINTER_NOTIFY_INFO_DATA structures.int
The number of PRINTER_NOTIFY_INFO_DATA elements in the aData array.int
A bit flag that indicates the state of the notification structure.int
The version of this structure.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, 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
-
Version
public int VersionThe version of this structure. Set this member to 2. -
Flags
public 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. -
Count
public int CountThe number of PRINTER_NOTIFY_INFO_DATA elements in the aData array. -
aData
An 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_INFO
public PRINTER_NOTIFY_INFO()
-
-
Method Details