Package com.sun.jna.platform.win32
Class Ntifs.MountPointReparseBuffer
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Ntifs.MountPointReparseBuffer
- Direct Known Subclasses:
- Ntifs.MountPointReparseBuffer.ByReference
- Enclosing interface:
- Ntifs
@FieldOrder({"SubstituteNameOffset","SubstituteNameLength","PrintNameOffset","PrintNameLength","PathBuffer"})
public static class Ntifs.MountPointReparseBuffer
extends Structure
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionchar[]First character of the path string.shortLength, in bytes, of the print name string.shortOffset, in bytes, of the print name string in the PathBuffer array.shortLength, in bytes, of the substitute name string.shortOffset, in bytes, of the substitute name string in the PathBuffer array.Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructorsConstructorDescriptionMountPointReparseBuffer(short SubstituteNameOffset, short SubstituteNameLength, short PrintNameOffset, short PrintNameLength, String PathBuffer) MountPointReparseBuffer(Pointer memory) MountPointReparseBuffer(String substituteName, String printName) 
- 
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- 
SubstituteNameOffsetpublic short SubstituteNameOffsetOffset, in bytes, of the substitute name string in the PathBuffer array. Note that this offset must be divided by sizeof(WCHAR) to get the array index.
- 
SubstituteNameLengthpublic short SubstituteNameLengthLength, in bytes, of the substitute name string. If this string is NULL-terminated, SubstituteNameLength does not include space for the UNICODE_NULL character.
- 
PrintNameOffsetpublic short PrintNameOffsetOffset, in bytes, of the print name string in the PathBuffer array. Note that this offset must be divided by sizeof(WCHAR) to get the array index.
- 
PrintNameLengthpublic short PrintNameLengthLength, in bytes, of the print name string. If this string is NULL-terminated, PrintNameLength does not include space for the UNICODE_NULL character.
- 
PathBufferpublic char[] PathBufferFirst character of the path string. This is followed in memory by the remainder of the string. The path string contains the substitute name string and print name string. The substitute name and print name strings can appear in any order in the PathBuffer. (To locate the substitute name and print name strings in the PathBuffer, use the SubstituteNameOffset, SubstituteNameLength, PrintNameOffset, and PrintNameLength members.) NOTE: MAXIMUM_REPARSE_DATA_BUFFER_SIZE is chosen here based on documentation. Because chars are two bytes, the actual array size needs to be divided by 2
 
- 
- 
Constructor Details- 
MountPointReparseBufferpublic MountPointReparseBuffer()
- 
MountPointReparseBuffer
- 
MountPointReparseBuffer
- 
MountPointReparseBufferpublic MountPointReparseBuffer(short SubstituteNameOffset, short SubstituteNameLength, short PrintNameOffset, short PrintNameLength, String PathBuffer) 
 
- 
- 
Method Details- 
sizeOfpublic static int sizeOf()
 
-