mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 14:58:29 +00:00
[CONUTILS] Implement ConSetThreadUILanguage() as a wrapper for kernel32!SetThreadUILanguage().
CORE-17601 Dynamically load SetThreadUILanguage(), so as to support systems where this API is not present. Hopefully implemented in a thread-safe manner.
This commit is contained in:
parent
35f499e52f
commit
7c3aabc088
2 changed files with 59 additions and 4 deletions
|
@ -3,8 +3,8 @@
|
|||
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
||||
* PURPOSE: Base set of functions for loading string resources
|
||||
* and message strings, and handle type identification.
|
||||
* COPYRIGHT: Copyright 2017-2018 ReactOS Team
|
||||
* Copyright 2017-2018 Hermes Belusca-Maito
|
||||
* COPYRIGHT: Copyright 2017-2021 ReactOS Team
|
||||
* Copyright 2017-2021 Hermes Belusca-Maito
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -56,6 +56,10 @@ FormatMessageSafeW(
|
|||
IN DWORD nSize,
|
||||
IN va_list *Arguments OPTIONAL);
|
||||
|
||||
LANGID
|
||||
ConSetThreadUILanguage(
|
||||
IN LANGID LangId OPTIONAL);
|
||||
|
||||
BOOL
|
||||
IsTTYHandle(IN HANDLE hHandle);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue