IMLangConvertCharset (Windows Embedded CE 6.0)
1/6/2010
This interface converts a string from one code page to another. This interface is not supported on all Windows Embedded CE-based operating systems. See the SDK documentation specific to your target device to see whether this functionality is supported.
When to Use
A caller uses this interface to repeatedly perform character set conversions involving the same combination of source and destination code pages. This interface can also be used to reinitialize the Conversion object with new source and destination code pages as many times as necessary.
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.
Method | Description |
---|---|
Converts the given string from the source code page of the Conversion object to its destination code page. |
|
Converts the given wide-character string from Unicode to the destination code page of the Conversion object. |
|
Converts the given string from the source multibyte code page of the Conversion object to the Unicode character set. |
|
Retrieves the identifier value of the destination code page of the Conversion object. |
|
Retrieves the MLCONVCHAR constants that the Conversion object has set. |
|
Retrieves the code page identifier value that has been designated as the source code page of the Conversion object. |
|
Initializes the internal state of the Conversion object with the specified parameters. |
Remarks
A client creates an instance of the Conversion object by using the IMultiLanguage::CreateConvertCharset method. The methods for the IMLangConvertCharset interface perform more efficient character set conversions than the methods for the IMultiLanguage interface.
Requirements
Header | mlang.h, mlang.idl |
Library | mlang.dll |
Windows Embedded CE | Windows CE .NET 4.0 and later |