Location:
f32file.h
Link against: efsrv.lib
RFormat
Supported from 5.0
Formats a device, one step at a time.
RFormat
must first be opened on a device before
formatting each track using Next()
.
There is also an asynchronous version of Next()
which,
if encapsulated into a suitable active object, can be used to implement a
user-interruptible formatting process.
|
Defined in RFormat
:
Next()
, Open()
Inherited from RFsBase
:
Close()
Inherited from RSubSessionBase
:
CloseSubSession()
,
CreateSubSession()
,
Send()
,
SendReceive()
,
SubSessionHandle()
,
operator=()
TInt Open(RFs& aFs,const TDesC& aName,TUint aFormatMode,TInt& aCount);
Opens a device for formatting. The device may be formatted either high- or low-density.
Devices which support read-only media may not be formatted. This includes the ROM (on drive Z:). All files on the disk must be closed or an error is returned.
Note:
To close the device, use Close()
, defined in
the base class RFsBase
.
|
|
TInt Next(TInt& aStep);
Executes next format step — synchronous overload.
|
|
void Next(TPckgBuf<TInt>& aStep,TRequestStatus& aStatus);
Executes next format step — asynchronous overload.
|