Skip navigation links
JNA API 4.4.0
com.sun.jna.platform.win32

Class Ntifs.REPARSE_DATA_BUFFER

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


    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
      • getFieldOrder

        protected List<String> getFieldOrder()
        Description copied from class: Structure
        Return this Structure's field names in their proper order. For example,
        
         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.
        Specified by:
        getFieldOrder in class Structure
        Returns:
        ordered list of field names
      • read

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

Copyright © 2007-2016 Timothy Wall. All Rights Reserved.