Class Ntifs.REPARSE_DATA_BUFFER

  • Direct Known Subclasses:
    Ntifs.REPARSE_DATA_BUFFER.ByReference
    Enclosing interface:
    Ntifs

    @FieldOrder({"ReparseTag","ReparseDataLength","Reserved","u"})
    public static class Ntifs.REPARSE_DATA_BUFFER
    extends Structure
    The REPARSE_DATA_BUFFER structure contains reparse point data for a Microsoft reparse point. (Third-party reparse point owners must use the REPARSE_GUID_DATA_BUFFER structure instead.)
    • Field Detail

      • ReparseTag

        public int ReparseTag
        Reparse point tag. Must be a Microsoft reparse point tag.
      • ReparseDataLength

        public short ReparseDataLength
        Size, in bytes, of the reparse data in the DataBuffer member.
      • Reserved

        public short Reserved
        Length, in bytes, of the unparsed portion of the file name pointed to by the FileName member of the associated file object. For more information about the FileName member, see FILE_OBJECT. This member is only valid for create operations when the I/O fails with STATUS_REPARSE. For all other purposes, such as setting or querying a reparse point for the reparse data, this member is treated as reserved.
    • Constructor Detail

      • REPARSE_DATA_BUFFER

        public REPARSE_DATA_BUFFER()
      • REPARSE_DATA_BUFFER

        public REPARSE_DATA_BUFFER​(int ReparseTag,
                                   short Reserved)
      • REPARSE_DATA_BUFFER

        public REPARSE_DATA_BUFFER​(Pointer memory)
    • Method Detail

      • sizeOf

        public static int sizeOf()
      • getSize

        public int getSize()
        Returns:
        size of the structure considering the ReparseDataLength size
      • read

        public void read()
        Description copied from class: Structure
        Reads the fields of the struct from native memory
        Overrides:
        read in class Structure