ts_com.cpp File Reference
pswd_DrvNbr(TDes &, TInt &)
pswd_Password(TDes &, TInt, TMediaPassword &)
const TLitC< sizeof(L"\n")/2 > KLitNewLine
const TLitC< sizeof(L"\n")/2 > | KLitNewLine | [static] |
ParseHexaPrefixIfAny(TLex &)
FormatDrvMediaTypeInfo(const TDriveInfo &, TDes &)
void | FormatDrvMediaTypeInfo | ( | const TDriveInfo & | aDrvInfo, |
| TDes & | aPrintBuf |
| ) | |
Format TMediaType description.
Parameters
const TDriveInfo & aDrvInfo | drive info structure |
TDes & aPrintBuf | buffer where the information will be printed to. |
FormatDriveAttInfo(const TDriveInfo &, TDes &)
Format DriveAtt description.
Parameters
const TDriveInfo & aDrvInfo | drive info structure |
TDes & aPrintBuf | buffer where the information will be printed to. |
FormatMediaAttInfo(const TDriveInfo &, TDes &)
Format MediaAtt description.
Parameters
const TDriveInfo & aDrvInfo | drive info structure |
TDes & aPrintBuf | buffer where the information will be printed to. |
FormatVolInfo(const TVolumeInfo &, TDes &)
Parameters
const TVolumeInfo & volInfo | volume information |
TDes & aPrintBuf | buffer where the information will be printed to. |
Enum TPrintDrvInfoFlags
Bit flags that specify which information will be printed by PrintDrvInfo()
Enumerators
EFSInfo = 0x01 | |
EFSInfoEx = 0x02 | |
EMediaTypeInfo = 0x04 | |
EMediaAttInfo = 0x08 | |
EDrvAttInfo = 0x10 | |
EVolInfo = 0x20 | |
EAll = 0xFFFF | |
PrintDrvInfo(RFs &, TInt, CConsoleBase *, TUint)
Parameters
RFs & aFs | file system object |
TInt aDrvNum | drive number |
CConsoleBase * apConsole | pointer to the console to print information into |
TUint aFlags = EAll | specifies which information to print out, |
DoExtractDriveLetter(const TDesC &)
Extracts drive specifier from the given string that shall look like 'd:\' or 'd:' And converts it to the drive number.
Parameters
const TDesC & aStr | a string with drive specifier |
DoFindToken(const TDesC &, const TDesC &, TPtrC &)
Just a helper method. Looks for a given pattern in the given string and returns the rest of the found token.
Parameters
const TDesC & aSrc | source string |
const TDesC & aPattern | pattern to look for |
TPtrC & aToken | if the aPattern is found in the string, will contain characters from the pattern end to the next space. |
DoDismountFS(RFs &, TInt)
const TLitC< sizeof(L"%S")/2 > KLitPercentS
const TLitC< sizeof(L"%S")/2 > | KLitPercentS | [static] |
const TLitC< sizeof(L"\r\n")/2 > KCrNl
const TLitC< sizeof(L"\r\n")/2 > | KCrNl | [static] |
SIPrintf(TRefByValue< const TDesC16 >, ...)
SIHeading(TRefByValue< const TDesC16 >, ...)
SIBoolean(const TDesC &, TBool)
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.