GetKBCodePage function (winuser.h)
Retrieves the current code page.
Note This function is provided only for compatibility with 16-bit versions of Windows. Applications should use the GetOEMCP function to retrieve the OEM code-page identifier for the system.
Syntax
UINT GetKBCodePage();
Return value
Type: UINT
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 Code Page Identifiers.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winuser.h (include Windows.h) |
Library | User32.lib |
DLL | User32.dll |
See also
Conceptual
Reference