内部 CRT 函数。Internal CRT function. 检索线程的当前排序规则代码页。Retrieves the current collation code page of the thread.


UINT ___lc_codepage_func(void);  

返回值Return Value

线程的当前排序规则代码页。The current collation code page of the thread.


___lc_collate_cp_func 是一个内部 CRT 函数,其他 CRT 函数可将其用于从 CRT 数据的线程本地存储中获取当前排序规则代码页。___lc_collate_cp_func is an internal CRT function that is used by other CRT functions to get the current collation code page from the thread local storage for CRT data. 也可通过使用 _get_current_locale 函数提供此信息。This information is also available by using the _get_current_locale function.

内部 CRT 函数特定于实现且会根据每个发行版本发生更改。Internal CRT functions are implementation-specific and subject to change with each release. 不建议在代码中使用它们。We don't recommend their use in your code.


例程所返回的值Routine 必需的标头Required header
___lc_collate_cp_func crt\src\setlocal.hcrt\src\setlocal.h

请参阅See Also

_get_current_locale _get_current_locale
setlocale、_wsetlocale setlocale, _wsetlocale
_create_locale、_wcreate_locale _create_locale, _wcreate_locale