Skip navigation links
JNA API 5.10.0
com.sun.jna.platform.win32

Class Winspool.PRINTER_NOTIFY_INFO

  • Enclosing interface:
    Winspool


    @Structure.FieldOrder(value={"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:
    PRINTER_NOTIFY_INFO structure
    • Field Detail

      • Version

        public int Version
        The version of this structure. Set this member to 2.
      • Flags

        public int Flags
        A 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 Count
        The number of PRINTER_NOTIFY_INFO_DATA elements in the aData array.
      • aData

        public Winspool.PRINTER_NOTIFY_INFO_DATA[] 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 Detail

      • PRINTER_NOTIFY_INFO

        public PRINTER_NOTIFY_INFO()
    • Method Detail

      • read

        public void read()
        Description copied from class: Structure
        Reads the fields of the struct from native memory
        Overrides:
        read in class Structure
JNA API 5.10.0

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.