Package com.sun.jna.platform.win32
Class WinBase.FILE_BASIC_INFO
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinBase.FILE_BASIC_INFO
- Direct Known Subclasses:
- WinBase.FILE_BASIC_INFO.ByReference
- Enclosing interface:
- WinBase
@FieldOrder({"CreationTime","LastAccessTime","LastWriteTime","ChangeTime","FileAttributes"})
public static class WinBase.FILE_BASIC_INFO
extends Structure
Contains the basic information for a file. Used for file handles.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThe time the file was changed in FILETIME format.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).intThe file attributes.The time the file was last accessed in FILETIME format.The time the file was last written to in FILETIME format.Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructorsConstructorDescriptionFILE_BASIC_INFO(WinBase.FILETIME CreationTime, WinBase.FILETIME LastAccessTime, WinBase.FILETIME LastWriteTime, WinBase.FILETIME ChangeTime, int FileAttributes) FILE_BASIC_INFO(WinNT.LARGE_INTEGER CreationTime, WinNT.LARGE_INTEGER LastAccessTime, WinNT.LARGE_INTEGER LastWriteTime, WinNT.LARGE_INTEGER ChangeTime, int FileAttributes) FILE_BASIC_INFO(Pointer memory) 
- 
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- 
CreationTimeThe 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).
- 
LastAccessTimeThe time the file was last accessed in FILETIME format.
- 
LastWriteTimeThe time the file was last written to in FILETIME format.
- 
ChangeTimeThe time the file was changed in FILETIME format.
- 
FileAttributespublic int FileAttributesThe 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.
 
- 
- 
Constructor Details- 
FILE_BASIC_INFOpublic FILE_BASIC_INFO()
- 
FILE_BASIC_INFO
- 
FILE_BASIC_INFOpublic FILE_BASIC_INFO(WinBase.FILETIME CreationTime, WinBase.FILETIME LastAccessTime, WinBase.FILETIME LastWriteTime, WinBase.FILETIME ChangeTime, int FileAttributes) 
- 
FILE_BASIC_INFOpublic FILE_BASIC_INFO(WinNT.LARGE_INTEGER CreationTime, WinNT.LARGE_INTEGER LastAccessTime, WinNT.LARGE_INTEGER LastWriteTime, WinNT.LARGE_INTEGER ChangeTime, int FileAttributes) 
 
- 
- 
Method Details- 
sizeOfpublic static int sizeOf()
 
-