class TLDFormatInfo |
This class is used to provide file system-specific parameters for media formatting. TInt RFormat::Open(RFs &aFs, const TDesC &aName, TUint aFormatMode, TInt &aCount, const TDesC8 &anInfo);"
For example, for FAT file system it is possible to specify FAT type(12/16/32), cluster size, number of FATs and number of reserved sectors. Note that not all combinations of custom parameters can be compatible; some media types, like SD can reject formatting with user-defined parameters.
Public Member Functions | |
---|---|
TLDFormatInfo() |
Public Member Enumerations | |
---|---|
enum | TFATBits { EFBDontCare, EFB12 = 12, EFB16 = 16, EFB32 = 32 } |
enum | TFlags { EOneFatTable = 0x01, ETwoFatTables = 0x02 } |
Public Attributes | |
---|---|
TInt64 | iCapacity |
TFATBits | iFATBits |
TUint8 | iFlags |
TUint16 | iNumberOfSides |
TUint8 | iPad |
TUint16 | iReservedSectors |
TUint16 | iSectorsPerCluster |
TUint16 | iSectorsPerTrack |