Class: Puppet::FFI::Windows::Structs::REPARSE_JDATA_BUFFER Private

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/puppet/ffi/windows/structs.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

REPARSE_JDATA_BUFFER

Instance Method Summary collapse

Instance Method Details

#header_sizeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

The REPARSE_DATA_BUFFER_HEADER_SIZE which is calculated as:

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



334
335
336
# File 'lib/puppet/ffi/windows/structs.rb', line 334

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