GetThreadLocale function kernel32
Returns the locale identifier of the current locale for the calling thread.
Note: This function can retrieve data that changes between releases, for example, due to a custom locale.
To learn more, see learn.microsoft.com/windows/win32/api/winnls/nf-winnls-getthreadlocale.
Implementation
@pragma('vm:prefer-inline')
int GetThreadLocale() => _GetThreadLocale();