IsValidCodePage (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This function determines whether a specified code page is valid.

BOOL IsValidCodePage(
  UINT CodePage 


[in] Code page to check. Each code page is identified by a unique number.

Return Values

Nonzero indicates that the code page is valid. Zero indicates that the code page is not valid. To get extended error information, call the GetLastError function.


A code page is considered valid only if it is installed in the system.

For more information about code pages, see Code Pages.


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

See Also

GetACP | GetCPInfo | GetOEMCP

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.

© 2016 Microsoft