Section contents
cfile.oxh
<TBS>
this& = NewRawDisk&:
Creates a raw diskobject and returns a handle which allows the object to be manipulated.
this& |
An value which represents the created raw disk object |
If the object could not be created then an error is generated
which should be trapped by an ONERR
handler.
LOCAL this& this& = NewRawDisk&: DeleteRawDisk:(this&)
DeleteRawDisk:(BYREF this&)
Destroys the raw disk object.
BYREF this& |
A handle to a raw disk object |
LOCAL this& this& = NewRawDisk&: DeleteRawDisk:(this&)
RawDiskClose:(this&)
Close the channel to the disk.
this& |
A handle to a raw disk object |
err% = RawDiskOpen:(this&,fs&,drive&)
Open a channel to the disk drive&
.
this& |
A handle to a raw disk object |
fs& |
A handle to a file system object |
drive& |
The drive to open |
err% |
An error code |
err% = RawDiskRead%:(this&,pos&,des&)
Read bytes from the disk.
this& |
A handle to a raw disk object |
pos& |
The position on the disk to start reading |
des& |
A handle to a descriptor object |
err% |
An error code |
err% = RawDiskWrite%:(this&,pos&,des&)
Write bytes to the disk.
this& |
A handle to a raw disk object |
pos& |
The position on the disk to start writing |
des& |
A handle to a descriptor object |
err% |
An error code |
err% = RawDiskWriteStr%:(this&,pos&,str$)
Write string to the disk.
this& |
A handle to a raw disk object |
pos& |
The position on the disk to start writing |
str$ |
A string |
err% |
An error code |