Compartilhar via


IEnumCodePage (Windows CE 5.0)

Send Feedback

This 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 CE-based 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 for 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

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.