SetResult sets the translated string as a plain text. Wide character and UTF-8 variants are supported. Length is optional; and null-terminated string should be used if length is omitted.
Parameters |
Description |
const wchar_t* presultText |
Translated string in wide-character format. |
UPInt resultLen = SF_MAX_UPINT |
For UTF-8 encoded string this indicates number of bytes (not characters) in the string and for UCS encoded string this indicates number of characters (not bytes) in the string. |
const char* presultTextUTF8 |
Translated string in UTF-8 format. |