IMLangCodePages interface

Provides the foundation of the IMLangFontLink interface and implements methods for working with code pages.

Members

The IMLangCodePages interface inherits from the IUnknown interface. IMLangCodePages also has these types of members:

Methods

The IMLangCodePages interface has these methods.

MethodDescription
CodePagesToCodePage

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

CodePageToCodePages

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

GetCharCodePages

Gets the set of code pages that the given Unicode character belongs to.

GetStrCodePages

Gets the set of code pages that the Unicode characters in the given string belong to.

 

Remarks

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

The concept of a set of code pages is crucial 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

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

 

 

Show: