I am using OSTranslate to convert my mail body content to Unicode String. Which is working fine for char* less then WORD size 65535.
WORD Length = MAXWORD;
actualOutLength = OSTranslate(OS_TRANSLATE_LMBCS_TO_UNICODE, (char*)inPtr,
Length, (char*)outPtr, Length);
After conversion the output array contains only a part of a source string.
Please Suggest what is the correct approach to set the size as my input string size is exceeding MAXWORD size limit.