Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <MSVAPI.H>
Link against: msgs.lib
Link against: msgs_autoshutdown.lib

Class MessageServer

class MessageServer;

Description

Provides various static information functions relating to the Message Server.

Members

Defined in MessageServer:


Member functions


Version()

IMPORT_C static TVersion Version();

Description

Returns the Message Server version number.

Return value

TVersion

Message server version number


NullUidValue()

IMPORT_C static TMsvId NullUidValue();

Description

Returns the predefined message entry ID null value.

Return value

TMsvId

Message entry ID null value


DriveContainsStore(RFs &,TInt)

Capability: AllFiles If not within the message server process
Capability: Illegal

IMPORT_C static TBool DriveContainsStore(RFs &aFs, TInt aDrive);

Description

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

Parameters

RFs &aFs

File server session

TInt aDrive

Drive to check, specified by a TDriveNumber value

Return value

TBool

True if aDrive has a Message Server index, otherwise false


CurrentDriveL(RFs &)

Capability: AllFiles If not within the message server process
Capability: Illegal

IMPORT_C static TInt CurrentDriveL(RFs &aFs);

Description

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

Parameters

RFs &aFs

File server session

Return value

TInt

Drive used, specified by a TDriveNumber value


IsMessageStoreDrivePresentL(RFs &)

Capability: Illegal

IMPORT_C static TBool IsMessageStoreDrivePresentL(RFs &aFs);

Description

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.

Parameters

RFs &aFs

Return value

TBool

ETrue if the same drive is mounted. otherwise returns EFalse