Share via


IsValidCodePage (Windows CE 5.0)

Send Feedback

This function determines whether a specified code page is valid.

BOOL IsValidCodePage(UINTCodePage );

Parameters

  • 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.

Remarks

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

For more information about code pages, see Code Pages.

Requirements

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.