EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

GetOEMCP function

Returns the current original equipment manufacturer (OEM) code page identifier for the operating system.

Note   The ANSI code pages can be different on different computers, or can be changed for a single computer, leading to data corruption. For the most consistent results, applications should use Unicode, such as UTF-8 or UTF-16, instead of a specific code page.

Syntax


UINT GetOEMCP(void);

Parameters

This function has no parameters.

Return value

Returns the current OEM code page identifier for the operating system.

Remarks

See Code Page Identifiers for a list of OEM and other code pages.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winnls.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

National Language Support
National Language Support Functions
GetACP

 

 

커뮤니티 추가 항목

추가
표시:
© 2014 Microsoft