equal
deleted
inserted
replaced
852 aInfo.iLocalDriveNumber=drvNo; |
852 aInfo.iLocalDriveNumber=drvNo; |
853 else |
853 else |
854 return KErrNotSupported; |
854 return KErrNotSupported; |
855 |
855 |
856 // Fetch the address of cluster 0 |
856 // Fetch the address of cluster 0 |
857 aInfo.iStartBlockAddress = fatMount.FAT().DataPositionInBytes(KFirstClusterNum); |
857 TInt r; |
858 |
858 TRAP(r, aInfo.iStartBlockAddress = fatMount.FAT().DataPositionInBytesL(KFirstClusterNum)); |
859 TRAPD(r, CheckPosL(startPos)); |
859 if (r != KErrNone) |
|
860 return r; |
|
861 |
|
862 |
|
863 TRAP(r, CheckPosL(startPos)); |
860 if (r != KErrNone) |
864 if (r != KErrNone) |
861 return r; |
865 return r; |
862 |
866 |
863 aInfo.iBlockStartOffset = fatMount.ClusterRelativePos(iCurrentPos.iPos); |
867 aInfo.iBlockStartOffset = fatMount.ClusterRelativePos(iCurrentPos.iPos); |
864 aInfo.iBlockGranularity = 1 << FatMount().ClusterSizeLog2(); |
868 aInfo.iBlockGranularity = 1 << FatMount().ClusterSizeLog2(); |