|
||
class TVolumeInfo;
Contains information about a volume mounted on a drive. Use RFs::Drive()
if only the drive information is required.
If a drive supports removable media it may contain different volumes over time.
Volume information is made up of information concerning the drive on which it is mounted, which can also be accessed through
RFs::Drive()
, and the volume information, this is made up of the size of the volume, the free space, its unique identifying number and
a name.
TVolumeInfo is initialised by RFs::Volume()
.
Defined in TVolumeInfo
:
TVolumeInfo()
Default constructoriDrive
Information about the drive on which the volume is mountediFileCacheFlags
Flags which define the default file-caching behaviour for this volumeiFree
The amount of free space on the volume in bytesiName
Name of the volume, with a maximum of KMaxFileName charactersiSize
The maximum size of the volume in bytesiUniqueID
The volume’s unique identifying numberRFs::Volume()
Gets volume information for a formatted deviceRFs::Drive()
Gets information about a drive and the medium mounted on itTDriveInfo iDrive;
Information about the drive on which the volume is mounted.
TDriveInfo
Contains drive informationTInt64 iSize;
The maximum size of the volume in bytes. The current amount of memory in use plus the amount of free memory.
TBufC< KMaxFileName > iName;
Name of the volume, with a maximum of KMaxFileName characters.
This field is optional.
KMaxFileName
Defines the maximum length of a filenameTFileCacheFlags iFileCacheFlags;
Flags which define the default file-caching behaviour for this volume