IMLangCodePages

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 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

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

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.