[This is a preview of an interface that may appear in future releases of Windows.]
The GetCPInfoEx function retrieves information about any valid installed or available code page.
BOOL GetCPInfoEx (
UINT CodePage, |
// code-page identifier |
DWORD dwFlags, |
// flags (must be 0) |
LPCPINFOEX lpCPInfoEx |
// address of structure for information |
); |
Value |
Meaning |
CP_ACP |
Use the system default ANSI code page. |
CP_MACCP |
Use the system default Macintosh code page. |
CP_OEMCP |
Use the system default OEM code page. |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
If the specified code page is not installed or not available, the GetCPInfoEx function sets the last-error value to ERROR_INVALID_PARAMETER.
file: /Techref/os/win/api/win32/func/src/f29_13.htm, 3KB, , updated: 2000/4/7 11:13, local time: 2024/11/29 22:13,
3.138.175.10:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/os/win/api/win32/func/src/f29_13.htm"> GetCPInfoEx</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.