TLDFormatInfo Class Reference

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
enumTFATBits { EFBDontCare, EFB12 = 12, EFB16 = 16, EFB32 = 32 }
enumTFlags { EOneFatTable = 0x01, ETwoFatTables = 0x02 }
Public Attributes
TInt64 iCapacity
TFATBits iFATBits
TUint8 iFlags
TUint16 iNumberOfSides
TUint8 iPad
TUint16 iReservedSectors
TUint16 iSectorsPerCluster
TUint16 iSectorsPerTrack

Constructor & Destructor Documentation

TLDFormatInfo()

TLDFormatInfo()[inline]

Member Enumerations Documentation

Enum TFATBits

Enumerators

EFBDontCare
EFB12 = 12
EFB16 = 16
EFB32 = 32

Enum TFlags

Enumerators

EOneFatTable = 0x01
ETwoFatTables = 0x02

Member Data Documentation

TInt64 iCapacity

TInt64 iCapacity

TFATBits iFATBits

TFATBits iFATBits

TUint8 iFlags

TUint8 iFlags

TUint16 iNumberOfSides

TUint16 iNumberOfSides

TUint8 iPad

TUint8 iPad

TUint16 iReservedSectors

TUint16 iReservedSectors

TUint16 iSectorsPerCluster

TUint16 iSectorsPerCluster

TUint16 iSectorsPerTrack

TUint16 iSectorsPerTrack