Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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 IMLangConvertCharsetinterfaces. This interface is not supported on all Windows Mobile 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 of this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods for the IUnknowninterface.
Method | Description |
---|---|
Converts the given source string from the source code page to the destination code page. |
|
Translates the source Unicode string to the specified multibyte code page. |
|
Translates the source Unicode string to the specified multibyte code page. |
|
Converts the given stream from the source code page to the destination code page. |
|
Translates the source string from the specified code page to Unicode. |
|
Translates the multibyte string from the specified code page to Unicode. |
|
Creates a charset Conversion object and retrieves its corresponding IMLangConvertCharsetinterface. |
|
Detects the code page of the given stream. |
|
Detects the code page of the given string. |
|
Creates a Code Page Enumeration object, initializes it with the value specified with grfFlags, and retrieves the corresponding IEnumCodePageinterface. |
|
Creates a Locale Enumeration object and retrieves the corresponding IEnumRfc1766interface. |
|
Creates a Script Enumeration object, initializes it with the specified SCRIPTINFOconstants, and retrieves the corresponding IEnumScriptinterface. |
|
Retrieves the MIMECSETINFOstructure corresponding to the specified charset name. |
|
Retrieves the code page description that corresponds to uiCodePage. |
|
Retrieves the MIMECPINFOstructure corresponding to the specified code page. |
|
Retrieves the family code page identifier value of the specified code page. |
|
Retrieves the locale identifier (LCID) value corresponding to the given RFC1766-conforming name. |
|
Retrieves the number of code pages for which there is information available on the system. |
|
Retrieves the number of scripts. |
|
Retrieves the RFC1766-conforming name that corresponds to the given LCID. |
|
Retrieves an RFC1766INFOstructure that corresponds to the given LCID value. |
|
Checks if the charset conversion from the source code page to the destination code page can be performed. |
|
Sets the MIME database to be used by MLang. |
Remarks
This interface updates the IMultiLanguageinterface by adding and expanding methods. These changes create a new code page detection functionality and enhance the existing character set conversion functionality. The IMultiLanguage2interface also supports the original capabilities of the IMultiLanguageinterface, such as character set conversion and information retrieval from the MIME database. The IMultiLanguage2interface should be used instead of the IMultiLanguageinterface.
Requirements
Header | mlang.h, mlang.idl |
Library | mlang.dll |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |