EngGetCurrentCodePage function (winddi.h)
The EngGetCurrentCodePage function returns the system's default OEM and ANSI code pages.
Syntax
ENGAPI VOID EngGetCurrentCodePage(
[out] PUSHORT OemCodePage,
[out] PUSHORT AnsiCodePage
);
Parameters
[out] OemCodePage
Pointer to a USHORT that receives the system's default OEM code page.
[out] AnsiCodePage
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
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 2000 and later versions of the Windows operating systems. |
Target Platform | Universal |
Header | winddi.h (include Winddi.h) |
Library | Win32k.lib |
DLL | Win32k.sys |