IMultiLanguage2 (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This interface provides methods for character set conversions, code page detection, and the retrieval of information on code pages, locales, and character sets. It also provides access to the IEnumCodePage, IEnumRfc1766, and IMLangConvertCharset interfaces. This interface is not supported on all Windows CE-based operating systems. See the SDK documentation specific to your target device to see whether this functionality is supported.

Methods

The following table shows the methods for this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

MethodDescription
ConvertStringConverts the given source string from the source code page to the destination code page.
ConvertStringFromUnicodeTranslates the source Unicode string to the specified multibyte code page.
ConvertStringFromUnicodeExTranslates the source Unicode string to the specified multibyte code page.
ConvertStringInIStreamConverts the given stream from the source code page to the destination code page.
ConvertStringToUnicodeTranslates the source string from the specified code page to Unicode.
ConvertStringToUnicodeExTranslates the multibyte string from the specified code page to Unicode.
CreateConvertCharsetCreates a charset Conversion object and retrieves its corresponding IMLangConvertCharset interface.
DetectCodepageInIStreamDetects the code page of the given stream.
DetectInputCodepageDetects the code page of the given string.
EnumCodePagesCreates a Code Page Enumeration object, initializes it with the value specified with grfFlags, and retrieves the corresponding IEnumCodePage interface.
EnumRfc1766Creates a Locale Enumeration object and retrieves the corresponding IEnumRfc1766 interface.
EnumScriptsCreates a Script Enumeration object, initializes it with the specified SCRIPTINFO constants, and retrieves the corresponding IEnumScript interface.
GetCharsetInfoRetrieves the MIMECSETINFO structure corresponding to the specified charset name.
GetCodePageDescription Retrieves the code page description that corresponds to uiCodePage.
GetCodePageInfoRetrieves the MIMECPINFO structure corresponding to the specified code page.
GetFamilyCodePageRetrieves the family code page identifier value of the specified code page.
GetLcidFromRfc1766Retrieves the locale identifier (LCID) value corresponding to the given RFC1766-conforming name.
GetNumberOfCodePageInfoRetrieves the number of code pages for which there is information available on the system.
GetNumberOfScriptsRetrieves the number of scripts.
GetRfc1766FromLcidRetrieves the RFC1766-conforming name that corresponds to the given LCID.
GetRfc1766InfoRetrieves an RFC1766INFO structure that corresponds to the given LCID value.
IsConvertibleChecks if the charset conversion from the source code page to the destination code page can be performed.
SetMimeDBSourceSets the MIME database to be used by MLang.

Remarks

This interface updates the IMultiLanguage interface by adding and expanding methods. These changes create a new code page detection functionality and enhance the existing character set conversion functionality. The IMultiLanguage2 interface also supports the original capabilities of the IMultiLanguage interface, such as character set conversion and information retrieval from the MIME database. The IMultiLanguage2 interface should be used instead of the IMultiLanguage interface.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Mlang.h, Mlang.idl.
Link Library: Mlang.dll.


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: