Partager via


IEnumCodePage

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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.

When to Use

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.

Methods

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

Next

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

Reset

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

Skip

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

Remarks

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.

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