utilitylibraries/libutils/src/descriptor8towstring.cpp
changeset 34 5fae379060a7
parent 0 e4d67989cc36
child 57 2efc27d87e1c
equal deleted inserted replaced
31:ce057bb09d0b 34:5fae379060a7
   234    *
   234    *
   235    * @param aSrc is the descriptor to be converted , aDes is the 
   235    * @param aSrc is the descriptor to be converted , aDes is the 
   236    * reference to the wstring array where the result of conversion 
   236    * reference to the wstring array where the result of conversion 
   237    * is stored  
   237    * is stored  
   238    * @return Status code (0 is ESuccess, -1 is EInsufficientMemory, 
   238    * @return Status code (0 is ESuccess, -1 is EInsufficientMemory, 
   239    * -4 is EInvalidPointer , -5 is EDescriptorNoData)
   239    * -4 is EInvalidPointer , -5 is EDescriptorNoData, -7 is EInvalidMBSSequence)
   240    */
   240    */
   241 
   241 
   242 EXPORT_C int Hbufc8ToWstring(HBufC8* aSrc, wstring& aDes)
   242 EXPORT_C int Hbufc8ToWstring(HBufC8* aSrc, wstring& aDes)
   243 {	
   243 {	
   244     unsigned int ilen =  0;
   244     unsigned int ilen =  0;
   283     *
   283     *
   284     * @param aSrc is the descriptor to be converted , aDes is the 
   284     * @param aSrc is the descriptor to be converted , aDes is the 
   285     * reference to the wstring array where the result of conversion 
   285     * reference to the wstring array where the result of conversion 
   286     * is stored  
   286     * is stored  
   287     * @return Status code (0 is ESuccess, -1 is EInsufficientMemory, 
   287     * @return Status code (0 is ESuccess, -1 is EInsufficientMemory, 
   288     * -5 is EDescriptorNoData)
   288     * -5 is EDescriptorNoData, -7 is EInvalidMBSSequence)
   289     */
   289     */
   290 
   290 
   291 EXPORT_C int Tlitc8ToWstring(TDes8& aSrc, wstring& aDes)
   291 EXPORT_C int Tlitc8ToWstring(TDes8& aSrc, wstring& aDes)
   292 {
   292 {
   293     int retval= ESuccess;
   293     int retval= ESuccess;