SetThreadUILanguage function Null safety kernel32

int SetThreadUILanguage(
  1. int LangId
)

Sets the user interface language for the current thread.

LANGID SetThreadUILanguage(
  LANGID LangId
);

Implementation

int SetThreadUILanguage(int LangId) {
  final _SetThreadUILanguage = _kernel32.lookupFunction<
      Uint16 Function(Uint16 LangId),
      int Function(int LangId)>('SetThreadUILanguage');
  return _SetThreadUILanguage(LangId);
}