diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-218DB978-929C-5701-869F-8415FF6CE62D.dita --- a/Symbian3/PDK/Source/GUID-218DB978-929C-5701-869F-8415FF6CE62D.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-218DB978-929C-5701-869F-8415FF6CE62D.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,25 +1,32 @@ - - - - - -Using RFormat

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 + + + + + +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