C# 클래스 Mosa.DeviceSystem.PartitionDevice

상속: Mosa.DeviceSystem.Device, IDevice, IPartitionDevice
파일 보기 프로젝트 열기: tgiphil/MOSA-Project 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

PartitionDevice() 공개 메소드

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].
리턴 Mosa.HardwareSystem

PartitionDevice() 공개 메소드

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].
리턴 Mosa.HardwareSystem

ReadBlock() 공개 메소드

Reads the block.
public ReadBlock ( uint block, uint count, byte data ) : bool
block uint The block.
count uint The count.
data byte The data.
리턴 bool

ReadBlock() 공개 메소드

Reads the block.
public ReadBlock ( uint block, uint count ) : byte[]
block uint The block.
count uint The count.
리턴 byte[]

WriteBlock() 공개 메소드

Writes the block.
public WriteBlock ( uint block, uint count, byte data ) : bool
block uint The block.
count uint The count.
data byte The data.
리턴 bool