Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <f32file.h>

f32file.h Global variables

KDefaultDrive

const TInt KDefaultDrive=KMaxTInt;

Description

The session default drive.

[Top]


KDriveAbsent

const TInt KDriveAbsent=0x00;

Description

Indicates a drive letter which is not in use.

This is useful when scanning a drive list to find which drives are available.

[Top]


KFileServerDefaultMessageSlots

const TInt KFileServerDefaultMessageSlots=-1;

Description

The default value for the number of message slots passed to RFs::Connect().

[Top]


KEntryArraySize

const TInt KEntryArraySize=(0x200*sizeof(TText));

Description

The size of the array of TEntry items contained in a TEntryArray object.

See also:

[Top]


KPathDelimiter

const TInt KPathDelimiter='\\';

Description

The character used to separate directories in the path name.

[Top]


KDriveDelimiter

const TInt KDriveDelimiter=':';

Description

The character used to separate the drive letter from the path.

[Top]


KExtDelimiter

const TInt KExtDelimiter='.';

Description

The character used to separate the filename from the extension.

[Top]


KMaxDrives

const TInt KMaxDrives=26;

Description

The maximum number of available drives.

[Top]


KMaxDriveName

const TInt KMaxDriveName=0x02;

Description

The maximum length of a drivename.

Sufficient for a drive letter and colon.

[Top]


KMaxFSNameLength

const TInt KMaxFSNameLength=0x0020;

Description

The maximum length of a file system name or file system sub type name. 32 characters is sufficient for a file system or sub type name.

[Top]


KEntryAttNormal

const TUint KEntryAttNormal=0x0000;

Description

File/directory attribute: any file without the hidden or system attribute.

[Top]


KEntryAttReadOnly

const TUint KEntryAttReadOnly=0x0001;

Description

File/directory attribute: read-only file or directory.

[Top]


KEntryAttHidden

const TUint KEntryAttHidden=0x0002;

Description

File/directory attribute: hidden file or directory.

[Top]


KEntryAttSystem

const TUint KEntryAttSystem=0x0004;

Description

File/directory attribute: system file.

[Top]


KEntryAttVolume

const TUint KEntryAttVolume=0x0008;

Description

File/directory attribute: volume name directory.

[Top]


KEntryAttDir

const TUint KEntryAttDir=0x0010;

Description

File/directory attribute: a directory without the hidden or system attribute.

[Top]


KEntryAttArchive

const TUint KEntryAttArchive=0x0020;

Description

File/directory attribute: an archive file.

[Top]


KEntryAttXIP

const TUint KEntryAttXIP=0x0080;

Description

File/directory attribute: ROM eXecute In Place file

[Top]


KEntryAttRemote

const TUint KEntryAttRemote=0x0100;

Description

This file attribute bit is set if the file exists only on a remote file system and is not locally cached.

Due to the potential high-latency of remote file systems, applications (or users of applications) may make use of this bit to modify their behaviour when working with remote files.

This is a read-only attribute, so any attempt to set this attribute will will be ignored.

[Top]


KEntryAttMaskFileSystemSpecific

const TUint KEntryAttMaskFileSystemSpecific=0x00FF0000;

Description

The range of entry attributes reserved for file-system specific meanings. File systems may assign meaning to these bits, but their definition will not be supported nor maintained by Symbian.

All other file attribute bits are reserved for use by Symbian.

The following table summarises the assignment of attribute bits:

0 - KEntryAttReadOnly 1 - KEntryAttHidden 2 - KEntryAttSystem 3 - KEntryAttVolume

4 - KEntryAttDir 6 - KEntryAttArchive 7 - KEntryAttXIP

8 - KEntryAttRemote 9 - Reserved 10 - Reserved 11 - Reserved

12 - Reserved 13 - Reserved 14 - Reserved 15 - Reserved

16 - File System Specific 17 - File System Specific 18 - File System Specific 19 - File System Specific

20 - File System Specific 22 - File System Specific 22 - File System Specific 23 - File System Specific

24 - Reserved 25 - Reserved 26 - Reserved 27 - KEntryAttMatchExclude

28 - KEntryAttAllowUid 29 - Reserved 30 - KEntryAttMatchExclusive 31 - Reserved

[Top]


KEntryAttMatchMask

const TUint KEntryAttMatchMask=(KEntryAttHidden|KEntryAttSystem|KEntryAttDir);

Description

Bit mask for matching file and directory entries.

This mask ensures that directories and hidden and system files are matched.

(Note that KEntryAttNormal matches all entry types except directories, hidden and system entries).

[Top]


KEntryAttMaskSupported

const TUint KEntryAttMaskSupported=0x3f;

Description

Bit mask for matching file and directory entries.

This is used when all entry types, including hidden and system files, but excluding the volume entry are to be matched.

[Top]


KEntryAttMatchExclusive

const TUint KEntryAttMatchExclusive=0x40000000;

Description

Bit mask for matching file and directory entries.

This is used for exclusive matching. When OR'ed with one or more file attribute constants, for example, KEntryAttNormal, it ensures that only the files with those attributes are matched. When OR’ed with KEntryAttDir, directories only (not hidden or system) are matched.

See also:

[Top]


KEntryAttUnique

const TUint KEntryAttUnique=0x01000000;

Description

Bit mask for feature manager file entries.

It is used in order to identify each ROM feature set data file uniquely in the mount order of ROM sections.

[Top]


KEntryAttMatchExclude

const TUint KEntryAttMatchExclude=0x08000000;

Description

Bit mask for matching file and directory entries.

It is used to exclude files or directories with certain attributes from directory listings. This bitmask has the opposite effect to KEntryAttMatchExclusive. For example:

KEntryAttMatchExclude|KEntryAttReadOnly

excludes all read only entries from the directory listing.

KEntryAttMatchExclusive|KEntryAttReadOnly

lists only read only entries.

See also:

[Top]


KEntryAttAllowUid

const TUint KEntryAttAllowUid=0x10000000;

Description

Bit mask for matching file and directory entries.

Bit mask flag used when UID information should be included in the directory entry listing.

[Top]


KMaxMapsPerCall

const TUint KMaxMapsPerCall=0x8;

Description

[Top]


KFileShareMask

const TUint KFileShareMask=0xff;

Description

Bit mask provided for retrieving a file's share mode.

See also:

[Top]


KFileServerUidValue

const TInt KFileServerUidValue=0x100039e3;

Description

The UID of the File Server process