C# Class Mosa.DeviceSystem.PartitionDevice

Inheritance: Mosa.DeviceSystem.Device, IDevice, IPartitionDevice
Afficher le fichier Open project: tgiphil/MOSA-Project Class Usage Examples

Méthodes publiques

Méthode Description
PartitionDevice ( IDiskDevice diskDevice, Mosa.DeviceSystem.GenericPartition partition, bool readOnly ) : Mosa.HardwareSystem

Initializes a new instance of the PartitionDevice class.

PartitionDevice ( IDiskDevice diskDevice, bool readOnly ) : Mosa.HardwareSystem

Initializes a new instance of the PartitionDevice class.

ReadBlock ( uint block, uint count, byte data ) : bool

Reads the block.

ReadBlock ( uint block, uint count ) : byte[]

Reads the block.

WriteBlock ( uint block, uint count, byte data ) : bool

Writes the block.

Method Details

PartitionDevice() public méthode

Initializes a new instance of the PartitionDevice class.
public PartitionDevice ( IDiskDevice diskDevice, Mosa.DeviceSystem.GenericPartition partition, bool readOnly ) : Mosa.HardwareSystem
diskDevice IDiskDevice The disk device.
partition Mosa.DeviceSystem.GenericPartition The partition.
readOnly bool if set to true [read only].
Résultat Mosa.HardwareSystem

PartitionDevice() public méthode

Initializes a new instance of the PartitionDevice class.
public PartitionDevice ( IDiskDevice diskDevice, bool readOnly ) : Mosa.HardwareSystem
diskDevice IDiskDevice The disk device.
readOnly bool if set to true [read only].
Résultat Mosa.HardwareSystem

ReadBlock() public méthode

Reads the block.
public ReadBlock ( uint block, uint count, byte data ) : bool
block uint The block.
count uint The count.
data byte The data.
Résultat bool

ReadBlock() public méthode

Reads the block.
public ReadBlock ( uint block, uint count ) : byte[]
block uint The block.
count uint The count.
Résultat byte[]

WriteBlock() public méthode

Writes the block.
public WriteBlock ( uint block, uint count, byte data ) : bool
block uint The block.
count uint The count.
data byte The data.
Résultat bool