GetCPInfo
This function retrieves information about any valid installed or available code page.
BOOL GetCPInfo(
UINT CodePage,
LPCPINFO lpCPInfo );
Parameters
CodePage
[in] Specifies the code page about which information is to be retrieved. You can specify the code page identifier for any installed or available code page, or you can specify one of the following predefined values:Value Description CP_ACP Use the system default ANSI code page CP_MACCP Not supported. CP_OEMCP Use the system default OEM code page lpCPInfo
[out] Pointer to a CPINFO structure that receives information about the code page.
Return Values
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
Remarks
If the specified code page is not installed or not available, GetCPInfo sets the last-error value to ERROR_INVALID_PARAMETER.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 1.01 and later | Winnls.h | Coreloc.lib |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.