Package com.sun.jna.platform.win32
Klasse Ntifs.SymbolicLinkReparseBuffer
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Ntifs.SymbolicLinkReparseBuffer
- Bekannte direkte Unterklassen:
Ntifs.SymbolicLinkReparseBuffer.ByReference
- Umschließende Schnittstelle:
Ntifs
@FieldOrder({"SubstituteNameOffset","SubstituteNameLength","PrintNameOffset","PrintNameLength","Flags","PathBuffer"})
public static class Ntifs.SymbolicLinkReparseBuffer
extends Structure
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.Structure
Structure.ByValue, Structure.FieldOrder, Structure.StructField
-
Feldübersicht
Modifizierer und TypFeldBeschreibungint
Used to indicate if the given symbolic link is an absolute or relative symbolic link.char[]
First character of the path string.short
Length, in bytes, of the print name string.short
Offset, in bytes, of the print name string in the PathBuffer array.short
Length, in bytes, of the substitute name string.short
Offset, in bytes, of the substitute name string in the PathBuffer array.Von Klasse geerbte Felder com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Konstruktorübersicht
KonstruktorBeschreibungSymbolicLinkReparseBuffer
(short SubstituteNameOffset, short SubstituteNameLength, short PrintNameOffset, short PrintNameLength, int Flags, String PathBuffer) SymbolicLinkReparseBuffer
(Pointer memory) SymbolicLinkReparseBuffer
(String substituteName, String printName, int Flags) -
Methodenübersicht
Von Klasse geerbte Methoden 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
-
Felddetails
-
SubstituteNameOffset
public 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. -
SubstituteNameLength
public 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. -
PrintNameOffset
public 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. -
PrintNameLength
public 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. -
Flags
public int FlagsUsed to indicate if the given symbolic link is an absolute or relative symbolic link. If Flags contains SYMLINK_FLAG_RELATIVE, the symbolic link contained in the PathBuffer array (at offset SubstitueNameOffset) is processed as a relative symbolic link; otherwise, it is processed as an absolute symbolic link. -
PathBuffer
public 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
-
-
Konstruktordetails
-
SymbolicLinkReparseBuffer
public SymbolicLinkReparseBuffer() -
SymbolicLinkReparseBuffer
-
SymbolicLinkReparseBuffer
-
SymbolicLinkReparseBuffer
public SymbolicLinkReparseBuffer(short SubstituteNameOffset, short SubstituteNameLength, short PrintNameOffset, short PrintNameLength, int Flags, String PathBuffer)
-
-
Methodendetails
-
sizeOf
public static int sizeOf() -
getPrintName
- Gibt zurück:
- the print name in a String
-
getSubstituteName
- Gibt zurück:
- the substitute name in a String
-