Sha256: be34b18b9c0a1d2ca78a2e996e59e7799639ee714129013d67726e6b193a58e8

Contents?: true

Size: 914 Bytes

Versions: 8

Compression:

Stored size: 914 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

8 entries across 8 versions & 1 rubygems

Version Path
ruby_smb-3.1.1 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.1.0 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.0.6 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.0.5 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.0.4 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.0.3 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.0.2 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb
ruby_smb-3.0.1 lib/ruby_smb/fscc/file_system_information/file_fs_volume_information.rb