Note This function is obsolete. Use the GetOEMCP function to retrieve the OEM code-page identifier for the system.
The GetKBCodePage function returns the current Windows code page.
UINT GetKBCodePage(VOID)
This function has no parameters.
The return value is an OEM code-page identifier, or it is the default identifier if the registry value is not readable. For a list of OEM code-page identifiers, see GetOEMCP.