UCONV_E2BIG
Input conversion stopped due to lack
of space in the output buffer.
UCONV_EBADF
The
uconv_object argument is not a valid, open conversion object.
UCONV_EILSEQ
Input conversion stopped due to an input byte that
does not belong to the input code page.
UCONV_EINVAL
Input conversion stopped due to an incomplete character
or shift sequence at the end of the input buffer.
ULS_SUCCESS
UniUconvToUcs
updates the variables pointed to by the arguments to reflect the extent
of the conversion and returns, in nonidentical, the number of substitutions
(nonidentical) conversions performed. If the entire string in the input
buffer is converted, the value pointed to by inbytesleft will be
zero. If the input conversion is stopped due to any condition mentioned
above, the value pointed to by inbytesleft will be non zero and a
non zero value is returned to indicate the condition. If an error occurs,
UniUconvToUcs returns a non zero value.
For a full list of error codes and the decimal and hexadecimal values of
the error codes, see Error Codes.