IMLangCodePages

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This interface provides a foundation for the IMLangFontLink interface and implements methods for working with code pages. 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.

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

CodePagesToCodePage

Retrieves the identifier value for a code page in the given set of code pages.

CodePageToCodePages

Translates the given code page identifier value into the corresponding entry in a set of code pages.

GetCharCodePages

Retrieves the set of code pages to which the given Unicode character belongs.

GetStrCodePages

Retrieves the set of code pages to which the Unicode characters in the given string belong.

Remarks

This interface defines a set of code pages and implements a number of methods for working with those code pages. This interface contains methods to translate between individual code page identifier values and sets of code pages. It also provides methods that determine which code pages contain a given Unicode character or string. Every method for the IMLangCodePages interface is available through the IMLangFontLink interface because the IMLangFontLink interface inherits from the IMLangCodePages interface.

A set of code pages is a crucial concept to the IMLangCodePages interface. A DWORD is used to represent a set of code pages, and each bit in the DWORD represents a specific code page.

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