public static class WinBase.WIN32_FIND_DATA extends Structure
Modifier and Type | Class and Description |
---|---|
static class |
WinBase.WIN32_FIND_DATA.ByReference |
Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
char[] |
cAlternateFileName
An alternative name for the file.
|
char[] |
cFileName
The name of the file.
|
int |
dwFileAttributes
The file attributes of a file.
|
int |
dwReserved0
If the dwFileAttributes member includes the FILE_ATTRIBUTE_REPARSE_POINT attribute, this member
specifies the reparse point tag.
|
int |
dwReserved1
Reserved for future use.
|
WinBase.FILETIME |
ftCreationTime
A FILETIME structure that specifies when a file or directory was created.
|
WinBase.FILETIME |
ftLastAccessTime
A FILETIME structure.
|
WinBase.FILETIME |
ftLastWriteTime
A FILETIME structure.
|
int |
nFileSizeHigh
The high-order DWORD value of the file size, in bytes.
|
int |
nFileSizeLow
The low-order DWORD value of the file size, in bytes.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
WIN32_FIND_DATA() |
WIN32_FIND_DATA(int dwFileAttributes,
WinBase.FILETIME ftCreationTime,
WinBase.FILETIME ftLastAccessTime,
WinBase.FILETIME ftLastWriteTime,
int nFileSizeHigh,
int nFileSizeLow,
int dwReserved0,
int dwReserved1,
char[] cFileName,
char[] cAlternateFileName) |
WIN32_FIND_DATA(Pointer memory) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlternateFileName() |
protected java.util.List<java.lang.String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
java.lang.String |
getFileName() |
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 int dwFileAttributes
public WinBase.FILETIME ftCreationTime
public WinBase.FILETIME ftLastAccessTime
public WinBase.FILETIME ftLastWriteTime
public int nFileSizeHigh
public int nFileSizeLow
public int dwReserved0
public int dwReserved1
public char[] cFileName
public char[] cAlternateFileName
public WIN32_FIND_DATA()
public WIN32_FIND_DATA(Pointer memory)
public WIN32_FIND_DATA(int dwFileAttributes, WinBase.FILETIME ftCreationTime, WinBase.FILETIME ftLastAccessTime, WinBase.FILETIME ftLastWriteTime, int nFileSizeHigh, int nFileSizeLow, int dwReserved0, int dwReserved1, char[] cFileName, char[] cAlternateFileName)
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
public java.lang.String getFileName()
public java.lang.String getAlternateFileName()