Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


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

This method creates a Code Page Enumeration object, initializes it with the value specified with the grfFlags parameter, and retrieves the corresponding IEnumCodePage interface.

HRESULT EnumCodePages( 
  DWORD grfFlags,
  LANGID LangId,
  IEnumCodePage** ppEnumCodePage


[in] Unsigned long integer value that contains flags that control code page enumeration. This can be a combination of the MIMECONTF values.


[in] LANGID that specifies the language that should be associated with the code pages.


[out] Address of a pointer to the IEnumCodePage interface of the Code Page Enumeration object.

Returns S_OK if successful or an error value otherwise.

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

Community Additions

© 2015 Microsoft