Export (0) Print
Expand All

GetKBCodePage function

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 WINAPI GetKBCodePage(void);

Parameters

This function has no parameters.

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Conceptual
Keyboard Input
Reference
GetACP
GetOEMCP

 

 

Community Additions

ADD
Show:
© 2014 Microsoft