0 out of 1 rated this helpful - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.