Important: The information in this document is obsolete and should not be used for new development.
Many of the Unicode Converter functions that perform conversions require a Unicode converter object containing information used for the conversion process. There are three types of Unicode converter objects used for different types of conversions. You use the UnicodeToTextRunInfo type, described here, for converting from Unicode to multiple encodings.
Because your application cannot directly create or modify the contents of the private Unicode converter object, the Unicode Converter provides functions to create and dispose of it. You can use any of three functions to create a Unicode converter object for converting from Unicode to multiple encodings. You can use CreateUnicodeToTextRunInfo, CreateUnicodeToTextRunInfoByEncoding, or CreateUnicodeToTextRunInfoByScriptCode.
You can then pass this object to the function ConvertFromUnicodeToTextRun or ConvertFromUnicodeToScriptCodeRun to identify the information used to perform the actual conversion. After you have finished using the object, you should release the memory allocated for it by calling the function DisposeUnicodeToTextRunInfo.
A Unicode converter object for this purpose is defined by the UnicodeToTextRunInfo data type.
typedef struct OpaqueUnicodeToTextRunInfo *UnicodeToTextRunInfo;The Unicode converter object of type TextToUnicodeInfo that you use for converting from non-Unicode text to Unicode text.
The Unicode converter object of type UnicodeToTextInfo that you use for converting from Unicode text to non-Unicode text.