C# Class Mosa.DeviceSystem.DiskDevice

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

Méthodes publiques

Méthode Description
DiskDevice ( IDiskControllerDevice diskController, uint driveNbr, bool readOnly ) : Mosa.HardwareSystem

Initializes a new instance of the DiskDevice 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

DiskDevice() public méthode

Initializes a new instance of the DiskDevice class.
public DiskDevice ( IDiskControllerDevice diskController, uint driveNbr, bool readOnly ) : Mosa.HardwareSystem
diskController IDiskControllerDevice The disk controller.
driveNbr uint The drive number.
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