MLang Interfaces     IEnumCodePage::Clone Meth...     MLang Interfaces    
Web Workshop (Miscellaneous)

IEnumCodePage Interface


A client uses this interface to obtain information about many code pages at once or to determine which code pages fit a certain flag.

IEnumCodePage Methods

Clone Not currently implemented.
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 specified number of code pages in the enumeration sequence.

Interface Information

Implementation Code Page Enumeration Object (Mlang.dll)
Inherits from IUnknown
Header and IDL files Mlang.h, Mlang.idl
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

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 IMultiLanguage::EnumCodePages to initialize IEnumCodePage, the client may 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 obtain a list of character sets that are appropriate for its character-set-switching menu.

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 IMultiLanguage::GetCodePageInfo.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.