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
  • Field Details

    • SubstituteNameOffset

      public short SubstituteNameOffset
      Offset, 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 SubstituteNameLength
      Length, 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 PrintNameOffset
      Offset, 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 PrintNameLength
      Length, in bytes, of the print name string. If this string is NULL-terminated, PrintNameLength does not include space for the UNICODE_NULL character.
    • PathBuffer

      public char[] PathBuffer
      First 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

    • MountPointReparseBuffer

      public MountPointReparseBuffer()
    • MountPointReparseBuffer

      public MountPointReparseBuffer(Pointer memory)
    • MountPointReparseBuffer

      public MountPointReparseBuffer(String substituteName, String printName)
    • MountPointReparseBuffer

      public MountPointReparseBuffer(short SubstituteNameOffset, short SubstituteNameLength, short PrintNameOffset, short PrintNameLength, String PathBuffer)
  • Method Details

    • sizeOf

      public static int sizeOf()