public static class WinBase.FILE_BASIC_INFO extends Structure
Modifier and Type | Class and Description |
---|---|
static class |
WinBase.FILE_BASIC_INFO.ByReference |
Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
WinNT.LARGE_INTEGER |
ChangeTime
The time the file was changed in FILETIME format.
|
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).
|
int |
FileAttributes
The file attributes.
|
WinNT.LARGE_INTEGER |
LastAccessTime
The time the file was last accessed in FILETIME format.
|
WinNT.LARGE_INTEGER |
LastWriteTime
The time the file was last written to in FILETIME format.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
FILE_BASIC_INFO() |
FILE_BASIC_INFO(Pointer memory) |
FILE_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) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.lang.String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
static int |
sizeOf() |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public WinNT.LARGE_INTEGER CreationTime
public WinNT.LARGE_INTEGER LastAccessTime
public WinNT.LARGE_INTEGER LastWriteTime
public WinNT.LARGE_INTEGER ChangeTime
public int FileAttributes
public FILE_BASIC_INFO()
public FILE_BASIC_INFO(Pointer memory)
public FILE_BASIC_INFO(WinBase.FILETIME CreationTime, WinBase.FILETIME LastAccessTime, WinBase.FILETIME LastWriteTime, WinBase.FILETIME ChangeTime, int FileAttributes)
public FILE_BASIC_INFO(WinNT.LARGE_INTEGER CreationTime, WinNT.LARGE_INTEGER LastAccessTime, WinNT.LARGE_INTEGER LastWriteTime, WinNT.LARGE_INTEGER ChangeTime, int FileAttributes)
public static int sizeOf()
protected java.util.List<java.lang.String> getFieldOrder()
Structure
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.getFieldOrder
in class Structure