GetThreadLocale function Null safety kernel32

int GetThreadLocale()

Returns the locale identifier of the current locale for the calling thread.

LCID GetThreadLocale();

Implementation

int GetThreadLocale() {
  final _GetThreadLocale = _kernel32
      .lookupFunction<Uint32 Function(), int Function()>('GetThreadLocale');
  return _GetThreadLocale();
}