Location:
f32file.h
Link against: efsrv.lib
class RRawDisk : public RSubSessionBase;
Enables direct disk access.
No other resources can access the disk while direct access to it is in effect.
This class is not intended for user derivation.
RSubSessionBase
- Client-side handle to a sub-session
RRawDisk
- Enables direct disk access
Defined in RRawDisk
:
Close()
, Open()
, Read()
, Write()
Inherited from RSubSessionBase
:
CloseSubSession()
,
CreateAutoCloseSubSession()
,
CreateSubSession()
,
Send()
,
SendReceive()
,
Session()
,
SubSessionHandle()
Capability: | Tcb |
IMPORT_C TInt Open(RFs &aFs, TInt aDrive);
Opens a direct access channel to the disk.
Other resources are disabled from accessing the disk until Close()
is called.
Note that if any resources are currently open on the disk, an error is returned.
|
|
IMPORT_C void Close();
Closes the direct access channel to the disk, and allows other resources to access the disk.
Capability: | Tcb |
IMPORT_C TInt Read(TInt64 aPos, TDes8 &aDes);
Reads directly from the disk.
The function reads a number of bytes into the specified descriptor from the disk, beginning at the specified position.
|
|
|
Capability: | Tcb |
IMPORT_C TInt Write(TInt64 aPos, TDesC8 &aDes);
Writes directly to the disk.
The function writes the contents of the specified descriptor to the disk at position aPos.
|
|
|