___setlc_active_func、___unguarded_readlc_active_add_func___setlc_active_func, ___unguarded_readlc_active_add_func

已过时。OBSOLETE. CRT 仅导出这些内部函数以保留二进制兼容性。The CRT exports these internal functions only to preserve binary compatibility.

语法Syntax

int ___setlc_active_func(void);  
int * ___unguarded_readlc_active_add_func(void);  

返回值Return Value

返回的值不重要。The value returned is not significant.

备注Remarks

尽管内部 CRT 函数 ___setlc_active_func___unguarded_readlc_active_add_func 已过时且不再使用,但是 CRT 库还会导出它们以保留二进制兼容性。Although the internal CRT functions ___setlc_active_func and ___unguarded_readlc_active_add_func are obsolete and no longer used, they are exported by the CRT library to preserve binary compatibility. ___setlc_active_func 的原始用途是返回对 setlocale 函数的当前活动的调用数。The original purpose of ___setlc_active_func was to return the number of currently active calls to the setlocale function. ___unguarded_readlc_active_add_func 的原始用途是返回引用区域设置而不会锁定区域设置的函数数。The original purpose of ___unguarded_readlc_active_add_func was to return the number of functions that referenced the locale without locking it.

要求Requirements

例程Routine 必需的标头Required header
___setlc_active_func, ___unguarded_readlc_active_add_func___setlc_active_func, ___unguarded_readlc_active_add_func none

另请参阅See Also

setlocale、_wsetlocalesetlocale, _wsetlocale