Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

EnumSystemCodePages (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This function enumerates the code pages that are either installed on or supported by a system.

BOOL EnumSystemCodePages(
  CODEPAGE_ENUMPROC lpCodePageEnumProc, 
  DWORD dwFlags


[in] Pointer to an application-defined callback function. The EnumSystemCodePages function enumerates code pages by making repeated calls to this callback function. For more information, see the EnumCodePagesProc callback function.
[in] Value that specifies the code pages to enumerate. The following table shows the values this parameter can take.
CP_INSTALLEDEnumerate only installed code pages.
CP_SUPPORTEDEnumerate all supported code pages.

Return Values

Nonzero indicates success. Zero indicates failure. To get extended error information, call the GetLastError function. The following table shows possible return values for the GetLastError function.

ERROR_INVALID_PARAMETERThe parameter is incorrect.
ERROR_BADDBThe configuration registry database is corrupt.
ERROR_INVALID FLAGSThe flags are invalid.


The CP_INSTALLED and CP_SUPPORTED flags are mutually exclusive.


OS Versions: Windows CE .NET 4.0 and later.
Header: Winnls.h.
Link Library: Coreloc.lib.

See Also


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.