Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.77 KB

File metadata and controls

44 lines (31 loc) · 1.77 KB
title ___lc_codepage_func
ms.date 11/04/2016
apiname
___lc_codepage_func
apilocation
msvcr120.dll
msvcr110_clr0400.dll
msvcr80.dll
msvcr100.dll
msvcr90.dll
msvcr110.dll
msvcrt.dll
apitype DLLExport
f1_keywords
lc_codepage_func
___lc_codepage_func
helpviewer_keywords
___lc_codepage_func
ms.assetid 6a663bd0-5a63-4a2f-9507-872ec1582aae

___lc_codepage_func

Internal CRT function. Retrieves the current code page of the thread.

Syntax

UINT ___lc_codepage_func(void);

Return Value

The current code page of the thread.

Remarks

___lc_codepage_func is an internal CRT function that is used by other CRT functions to get the current code page from the thread local storage for CRT data. This information is also available by using the _get_current_locale function.

A code page is a mapping of single-byte or double-byte codes to individual characters. Different code pages include different special characters, typically customized for a language or a group of languages. For more information about code pages, see Code Pages.

Internal CRT functions are implementation-specific and subject to change with each release. We don't recommend their use in your code.

Requirements

Routine Required header
___lc_codepage_func crt\src\setlocal.h

See Also

_get_current_locale
setlocale, _wsetlocale
_create_locale, _wcreate_locale
_free_locale