Important: The information in this document is obsolete and should not be used for new development.
Creates and returns a Unicode converter object containing information required for converting strings from a non-Unicode encoding to Unicode.
pascal OSStatus CreateTextToUnicodeInfo (
You pass a Unicode converter object returned from the function CreateTextToUnicodeInfo to the function ConvertFromTextToUnicode or ConvertFromPStringToUnicode to identify the information to be used for the conversion. These two functions modify the contents of the object.
You pass a Unicode converter object returned from CreateTextToUnicodeInfo to the function TruncateForTextToUnicode to identify the information to be used to truncate the string. This function does not modify the contents of the Unicode converter object.
In addition to various resource and memory errors that it can return, the function can return the following result codes:
If an error is returned, the Unicode converter object is invalid