Compartilhar via


IEnumCodePage interface

Gets information about many code pages at one time or determines which code pages fit a certain flag.

Members

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

  • Methods

Methods

The IEnumCodePage interface has these methods.

Method Description
Clone
Next

Gets 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 get an array of MIMECPINFO structures, which contain detailed information about a given code page.

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

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

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll