diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-218DB978-929C-5701-869F-8415FF6CE62D.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-218DB978-929C-5701-869F-8415FF6CE62D.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,32 @@ + + + + + +Using +RFormatThis topic describes how to format a device. +

The RFormat class formats a device, one step at a time.

+

The object must first be opened on a device, and then each track is formatted +using Next(). The following code fragment shows how this +is done:

+... +_LIT(KDriveA,"A:"); +... +RFs fs; +User::LeaveIfError(fs.Connect()); +... +RFormat format; +TInt tracksRemaining; +User::LeaveIfError(format.Open(fs,KDriveA,EHighDensity,tracksRemaining)); +while (tracksRemaining) + { + User::LeaveIfError(format.Next(tracksRemaining)); + } +format.Close(); +
\ No newline at end of file