Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <f32file.h>
Link against: efsrv.lib

Class TVolumeInfo

class TVolumeInfo;

Description

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().

Members

Defined in TVolumeInfo:

See also:


Construction and destruction


TVolumeInfo()

IMPORT_C TVolumeInfo();

Description

Default constructor.

[Top]


Member data


iDrive

TDriveInfo iDrive;

Description

Information about the drive on which the volume is mounted.

See also:


iUniqueID

TUint iUniqueID;

Description

The volume’s unique identifying number.


iSize

TInt64 iSize;

Description

The maximum size of the volume in bytes. The current amount of memory in use plus the amount of free memory.


iFree

TInt64 iFree;

Description

The amount of free space on the volume in bytes.


iName

TBufC< KMaxFileName > iName;

Description

Name of the volume, with a maximum of KMaxFileName characters.

This field is optional.

See also:


iFileCacheFlags

TFileCacheFlags iFileCacheFlags;

Description

Flags which define the default file-caching behaviour for this volume