Expand Minimize

EngGetCurrentCodePage function

The EngGetCurrentCodePage function returns the system's default OEM and ANSI code pages.

Syntax


VOID EngGetCurrentCodePage(
  _Out_  PUSHORT OemCodePage,
  _Out_  PUSHORT AnsiCodePage
);

Parameters

OemCodePage [out]

Pointer to a USHORT that receives the system's default OEM code page.

AnsiCodePage [out]

Pointer to a USHORT that receives the system's default ANSI code page.

Return value

None

Remarks

EngGetCurrentCodePage returns the default code pages that are used by the system to translate from ANSI to Unicode. These values are set at boot time according to locale settings.

Requirements

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

STROBJ_dwGetCodePage

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft