RFormat Class Reference

class RFormat : public RSubSessionBase

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.

Inherits from

Member Functions Documentation

Close()

IMPORT_C voidClose()

Next(TInt &)

IMPORT_C TIntNext(TInt &aStep)

Parameters

TInt & aStep

Next(TPckgBuf< TInt > &, TRequestStatus &)

IMPORT_C voidNext(TPckgBuf< TInt > &aStep,
TRequestStatus &aStatus
)

Parameters

TPckgBuf< TInt > & aStep
TRequestStatus & aStatus

Open(RFs &, const TDesC &, TUint, TInt &)

IMPORT_C TIntOpen(RFs &aFs,
const TDesC &aName,
TUintaFormatMode,
TInt &aCount
)

Parameters

RFs & aFs
const TDesC & aName
TUint aFormatMode
TInt & aCount

Open(RFs &, const TDesC &, TUint, TInt &, const TDesC8 &)

IMPORT_C TIntOpen(RFs &aFs,
const TDesC &aName,
TUintaFormatMode,
TInt &aCount,
const TDesC8 &anInfo
)

Parameters

RFs & aFs
const TDesC & aName
TUint aFormatMode
TInt & aCount
const TDesC8 & anInfo