MessageServer Class Reference

class MessageServer

Provides various static information functions relating to the Message Server.

TDriveNumber

Public Member Functions
IMPORT_C TIntCurrentDriveL(RFs &)
IMPORT_C TBoolDriveContainsStore(RFs &, TInt)
IMPORT_C TBoolIsMessageStoreDrivePresentL(RFs &)
IMPORT_C TMsvIdNullUidValue()
IMPORT_C TVersionVersion()

Member Functions Documentation

CurrentDriveL(RFs &)

IMPORT_C TIntCurrentDriveL(RFs &aFs)[static]

Returns the drive that the Message Server is using to store messages.

capability
AllFiles If not within the message server process
capability
None If within the message server process
TDriveNumber

Parameters

RFs & aFsFile server session

DriveContainsStore(RFs &, TInt)

IMPORT_C TBoolDriveContainsStore(RFs &aFs,
TIntaDrive
)[static]

Checks if the specified drive has a Message Server index on it.

capability
AllFiles If not within the message server process
capability
None If within the message server process
TDriveNumber

Parameters

RFs & aFsFile server session
TInt aDriveDrive to check, specified by a TDriveNumber value

IsMessageStoreDrivePresentL(RFs &)

IMPORT_C TBoolIsMessageStoreDrivePresentL(RFs &aFs)[static]

Checks to see if the currently selected drive contains the correct mail store.

If the message store is present on an external drive, we have to check if the same drive is mounted or not before storing the mail.

capability
None

Parameters

RFs & aFs

NullUidValue()

IMPORT_C TMsvIdNullUidValue()[static]

Returns the predefined message entry ID null value.

Version()

IMPORT_C TVersionVersion()[static]

Returns the Message Server version number.