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

Class WinBase.FILE_BASIC_INFO

    • Field Detail

      • CreationTime

        public WinNT.LARGE_INTEGER CreationTime
        The time the file was created in FILETIME format, which is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).
      • LastAccessTime

        public WinNT.LARGE_INTEGER LastAccessTime
        The time the file was last accessed in FILETIME format.
      • LastWriteTime

        public WinNT.LARGE_INTEGER LastWriteTime
        The time the file was last written to in FILETIME format.
      • ChangeTime

        public WinNT.LARGE_INTEGER ChangeTime
        The time the file was changed in FILETIME format.
      • FileAttributes

        public int FileAttributes
        The file attributes. For a list of attributes, see File Attribute Constants. If this is set to 0 in a FILE_BASIC_INFO structure passed to SetFileInformationByHandle then none of the attributes are changed.
    • Method Detail

      • sizeOf

        public static int sizeOf()
      • getFieldOrder

        protected List<String> getFieldOrder()
        Description copied from class: Structure
        Return this Structure's field names in their proper order. For example,
        
         protected List getFieldOrder() {
             return Arrays.asList(new String[] { ... });
         }
         
        IMPORTANT When deriving from an existing Structure subclass, ensure that you augment the list provided by the superclass, e.g.
        
         protected List getFieldOrder() {
             List fields = new ArrayList(super.getFieldOrder());
             fields.addAll(Arrays.asList(new String[] { ... }));
             return fields;
         }
         
        Field order must be explicitly indicated, since the field order as returned by Class.getFields() is not guaranteed to be predictable.
        Specified by:
        getFieldOrder in class Structure
        Returns:
        ordered list of field names
JNA API 4.4.0

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