Windows Mobile 6.5
A version of this page is also available for

The IEnumCodePage interface is used by a client to obtain information about many code pages at once or to determine which code pages fit a certain flag. 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.

This interface should be used when a client needs information about many code pages at once or when a client needs to know which code pages fit a certain flag. If information about specific code pages is required, a client should call the IMultiLanguage::GetCodePageInfo method.

The following table shows the methods for this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods of the IUnknown interface

Method Description


Retrieves an array of MIMECPINFO structures for the specified number of code pages.


Resets the Code Page Enumeration object to the beginning of the enumeration sequence.


Advances the position of the Code Page Enumeration object in the enumeration sequence by the specified amount.

A client can use this interface to retrieve an array of MIMECPINFO structures, which contain detailed information about a given code page.

When calling the IMultiLanguage::EnumCodePages method to initialize the IEnumCodePage interface, the client can set one or more of the flags defined in the MIMECONTF enumeration to obtain specific information. For example, a browser client can set MIMECONTF_BROWSER to obtain a list of character sets that are appropriate for its character-set-switching menu.

Headermlang.h, mlang.idl
Windows Embedded CEWindows CE .NET 4.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions