Class: Dir::Structs::REPARSE_JDATA_BUFFER

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/win32/dir/structs.rb

Overview

I fudge a bit, assuming a MountPointReparseBuffer

Instance Method Summary collapse

Instance Method Details

#header_sizeObject

The REPARSE_DATA_BUFFER_HEADER_SIZE which is calculated as:

sizeof(ReparseTag) + sizeof(ReparseDataLength) + sizeof(Reserved)



33
34
35
# File 'lib/win32/dir/structs.rb', line 33

def header_size
  FFI::Type::ULONG.size + FFI::Type::USHORT.size + FFI::Type::USHORT.size
end