public static class Ntifs.REPARSE_DATA_BUFFER extends Structure
Modifier and Type | Class and Description |
---|---|
static class |
Ntifs.REPARSE_DATA_BUFFER.ByReference |
static class |
Ntifs.REPARSE_DATA_BUFFER.REPARSE_UNION |
Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
short |
ReparseDataLength
Size, in bytes, of the reparse data in the DataBuffer member.
|
int |
ReparseTag
Reparse point tag.
|
short |
Reserved
Length, in bytes, of the unparsed portion of the file name pointed to by the FileName member of the associated file object.
|
Ntifs.REPARSE_DATA_BUFFER.REPARSE_UNION |
u |
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
REPARSE_DATA_BUFFER() |
REPARSE_DATA_BUFFER(int ReparseTag,
short Reserved) |
REPARSE_DATA_BUFFER(int ReparseTag,
short Reserved,
Ntifs.SymbolicLinkReparseBuffer symLinkReparseBuffer) |
REPARSE_DATA_BUFFER(Pointer memory) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
int |
getSize() |
void |
read()
Reads the fields of the struct from native memory
|
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, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public int ReparseTag
public short ReparseDataLength
public short Reserved
public Ntifs.REPARSE_DATA_BUFFER.REPARSE_UNION u
public REPARSE_DATA_BUFFER()
public REPARSE_DATA_BUFFER(int ReparseTag, short Reserved)
public REPARSE_DATA_BUFFER(int ReparseTag, short Reserved, Ntifs.SymbolicLinkReparseBuffer symLinkReparseBuffer)
public REPARSE_DATA_BUFFER(Pointer memory)
public static int sizeOf()
public int getSize()
protected List<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