Sha256: 22390862b7289a35e7f48476f664bf818cb50fc38074c47555da1168d3bf7223

Contents?: true

Size: 915 Bytes

Versions: 28

Compression:

Stored size: 915 Bytes

Contents

module RubySMB
  module Fscc
    module FileSystemInformation
      # The FileFsVolumeInformation
      # [2.5.9 FileFsVolumeInformation](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/bf691378-c34e-4a13-976e-404ea1a87738)
      class FileFsVolumeInformation < BinData::Record
        CLASS_LEVEL = FileSystemInformation::FILE_FS_VOLUME_INFORMATION

        endian :little

        file_time :volume_creation_time, label: 'Volume Creation Time'
        uint32    :volume_serial_number, label: 'Volume Serial Number'
        uint32    :volume_label_length,  label: 'Volume Label Length', initial_value: -> { volume_label.do_num_bytes }
        uint8     :supports_objects,     label: 'Supports Objects'
        uint8     :reserved,             label: 'Reserved'
        string16  :volume_label,         label: 'Volume Label', read_length: -> { volume_label_length }
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ruby_smb-3.3.13 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.12 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.11 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.10 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.9 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.7 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.6 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.5 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.4 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.3 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.2 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.1 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.3.0 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.2.8 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.2.7 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.2.6 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.2.5 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.2.4 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.2.3 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.2.2 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb