___setlc_active_func, ___unguarded_readlc_active_add_func

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at ___setlc_active_func, ___unguarded_readlc_active_add_func.

OBSOLETE. The CRT exports these internal functions only to preserve binary compatibility.

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

The value returned is not significant.

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. The original purpose of ___setlc_active_func was to return the number of currently active calls to the setlocale function. The original purpose of ___unguarded_readlc_active_add_func was to return the number of functions that referenced the locale without locking it.

RoutineRequired header
___setlc_active_func, ___unguarded_readlc_active_add_funcnone

setlocale, _wsetlocale

Show: