MemoryCardRootPath解决方法

MemoryCardRootPath
我在模拟器下调用这个方法的时候返回“E:\”,但是我在目录下没有找到E盘,我想问下在真机运行时,该如何判断是否插入存储卡

------解决方案--------------------
S60
RFs rfs;
rfs.Connect();
TDriveList drivelist;
rfs.DriveList(drivelist);
if (!drivelist[EDriveE])//如果MMC卡不存在
{
rfs.Close();
return GetModulePath();
}
TBuf <30> iPathFiletemp = PathInfo::MemoryCardRootPath();

UIQ稍有不同