GetACP

This function retrieves the current ANSI code-page identifier for the system.

At a Glance

Header file: Winnls.h
Windows CE versions: 1.01 and later

Syntax

UINT GetACP(VOID)

Return Values

The current ANSI code-page identifier for the system or a default identifier if no code page is current indicates success.

Remarks

Following are the ANSI code-page identifiers:

Identifier Description
874 Thai
932 Japan
936 Chinese (PRC, Singapore)
949 Korean
950 Chinese (Taiwan; Hong Kong SAR, PRC)
1200 Unicode (BMP of ISO 10646)
1250 Windows 3.1 Eastern European
1251 Windows 3.1 Cyrillic
1252 Windows 3.1 Latin 1 (US, Western Europe)
1253 Windows 3.1 Greek
1254 Windows 3.1 Turkish
1255 Hebrew
1256 Arabic
1257 Baltic

See Also

GetCPInfo, GetOEMCP