win32api
.GetThreadLocale
int =
GetThreadLocale(
)
Returns the current thread's locale.