Package com.sun.jna.platform.win32
Class WinBase.FILE_STANDARD_INFO
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinBase.FILE_STANDARD_INFO
- Direct Known Subclasses:
WinBase.FILE_STANDARD_INFO.ByReference
- Enclosing interface:
- WinBase
@FieldOrder({"AllocationSize","EndOfFile","NumberOfLinks","DeletePending","Directory"})
public static class WinBase.FILE_STANDARD_INFO
extends Structure
Receives extended information for the file. Used for file handles. Use only when calling GetFileInformationByHandleEx.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.sun.jna.Structure
Structure.ByValue, Structure.FieldOrder, Structure.StructField
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe amount of space that is allocated for the file.boolean
TRUE if the file in the delete queue; otherwise, false.boolean
TRUE if the file is a directory; otherwise, false.The end of the file.int
The number of links to the file.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionFILE_STANDARD_INFO
(WinNT.LARGE_INTEGER AllocationSize, WinNT.LARGE_INTEGER EndOfFile, int NumberOfLinks, boolean DeletePending, boolean Directory) FILE_STANDARD_INFO
(Pointer memory) -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, 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
-
AllocationSize
The amount of space that is allocated for the file. -
EndOfFile
The end of the file. -
NumberOfLinks
public int NumberOfLinksThe number of links to the file. -
DeletePending
public boolean DeletePendingTRUE if the file in the delete queue; otherwise, false. -
Directory
public boolean DirectoryTRUE if the file is a directory; otherwise, false.
-
-
Constructor Details
-
FILE_STANDARD_INFO
public FILE_STANDARD_INFO() -
FILE_STANDARD_INFO
-
FILE_STANDARD_INFO
public FILE_STANDARD_INFO(WinNT.LARGE_INTEGER AllocationSize, WinNT.LARGE_INTEGER EndOfFile, int NumberOfLinks, boolean DeletePending, boolean Directory)
-
-
Method Details
-
sizeOf
public static int sizeOf()
-