kernel32: Added stub for Set/GetProcessPreferredUILanguages.
Signed-off-by: Manuel Edelmann <varris@protonmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9fec2e0d95
commit
bc7e98a1a9
|
@ -14,7 +14,7 @@
|
|||
@ stub GetNLSVersion
|
||||
@ stub GetNLSVersionEx
|
||||
@ stdcall GetOEMCP() kernel32.GetOEMCP
|
||||
@ stub GetProcessPreferredUILanguages
|
||||
@ stdcall GetProcessPreferredUILanguages(long ptr ptr ptr) kernel32.GetProcessPreferredUILanguages
|
||||
@ stdcall GetSystemDefaultLCID() kernel32.GetSystemDefaultLCID
|
||||
@ stdcall GetSystemDefaultLangID() kernel32.GetSystemDefaultLangID
|
||||
@ stdcall GetSystemPreferredUILanguages(long ptr ptr ptr) kernel32.GetSystemPreferredUILanguages
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
@ stub GetNLSVersion
|
||||
@ stub GetNLSVersionEx
|
||||
@ stdcall GetOEMCP() kernel32.GetOEMCP
|
||||
@ stub GetProcessPreferredUILanguages
|
||||
@ stdcall GetProcessPreferredUILanguages(long ptr ptr ptr) kernel32.GetProcessPreferredUILanguages
|
||||
@ stdcall GetSystemDefaultLCID() kernel32.GetSystemDefaultLCID
|
||||
@ stdcall GetSystemDefaultLangID() kernel32.GetSystemDefaultLangID
|
||||
@ stdcall GetSystemPreferredUILanguages(long ptr ptr ptr) kernel32.GetSystemPreferredUILanguages
|
||||
|
@ -50,7 +50,7 @@
|
|||
@ stdcall ResolveLocaleName(wstr ptr long) kernel32.ResolveLocaleName
|
||||
@ stdcall SetCalendarInfoW(long long long wstr) kernel32.SetCalendarInfoW
|
||||
@ stdcall SetLocaleInfoW(long long wstr) kernel32.SetLocaleInfoW
|
||||
@ stub SetProcessPreferredUILanguages
|
||||
@ stdcall SetProcessPreferredUILanguages(long ptr ptr) kernel32.SetProcessPreferredUILanguages
|
||||
@ stdcall SetThreadLocale(long) kernel32.SetThreadLocale
|
||||
@ stdcall SetThreadPreferredUILanguages(long ptr ptr) kernel32.SetThreadPreferredUILanguages
|
||||
@ stdcall SetThreadUILanguage(long) kernel32.SetThreadUILanguage
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
@ stub GetNLSVersion
|
||||
@ stub GetNLSVersionEx
|
||||
@ stdcall GetOEMCP() kernel32.GetOEMCP
|
||||
@ stub GetProcessPreferredUILanguages
|
||||
@ stdcall GetProcessPreferredUILanguages(long ptr ptr ptr) kernel32.GetProcessPreferredUILanguages
|
||||
@ stdcall GetSystemDefaultLCID() kernel32.GetSystemDefaultLCID
|
||||
@ stdcall GetSystemDefaultLangID() kernel32.GetSystemDefaultLangID
|
||||
@ stdcall GetSystemPreferredUILanguages(long ptr ptr ptr) kernel32.GetSystemPreferredUILanguages
|
||||
|
@ -51,7 +51,7 @@
|
|||
@ stdcall ResolveLocaleName(wstr ptr long) kernel32.ResolveLocaleName
|
||||
@ stdcall SetCalendarInfoW(long long long wstr) kernel32.SetCalendarInfoW
|
||||
@ stdcall SetLocaleInfoW(long long wstr) kernel32.SetLocaleInfoW
|
||||
@ stub SetProcessPreferredUILanguages
|
||||
@ stdcall SetProcessPreferredUILanguages(long ptr ptr) kernel32.SetProcessPreferredUILanguages
|
||||
@ stdcall SetThreadLocale(long) kernel32.SetThreadLocale
|
||||
@ stdcall SetThreadPreferredUILanguages(long ptr ptr) kernel32.SetThreadPreferredUILanguages
|
||||
@ stdcall SetThreadUILanguage(long) kernel32.SetThreadUILanguage
|
||||
|
|
|
@ -786,7 +786,7 @@
|
|||
@ stdcall GetProcessIdOfThread(long)
|
||||
@ stdcall GetProcessIoCounters(long ptr)
|
||||
@ stdcall GetProcessMitigationPolicy(long long ptr long)
|
||||
# @ stub GetProcessPreferredUILanguages
|
||||
@ stdcall GetProcessPreferredUILanguages(long ptr ptr ptr)
|
||||
@ stdcall GetProcessPriorityBoost(long ptr)
|
||||
@ stdcall GetProcessShutdownParameters(ptr ptr)
|
||||
# @ stub GetProcessorSystemCycleTime
|
||||
|
@ -1429,7 +1429,7 @@
|
|||
@ stdcall SetProcessAffinityUpdateMode(long long)
|
||||
@ stdcall SetProcessDEPPolicy(long)
|
||||
@ stdcall SetProcessMitigationPolicy(long ptr long)
|
||||
# @ stub SetProcessPreferredUILanguages
|
||||
@ stdcall SetProcessPreferredUILanguages(long ptr ptr)
|
||||
@ stdcall SetProcessPriorityBoost(long long)
|
||||
@ stdcall SetProcessShutdownParameters(long long)
|
||||
# @ stub SetProcessUserModeExceptionPolicy
|
||||
|
|
|
@ -1285,6 +1285,15 @@ static BOOL get_dummy_preferred_ui_language( DWORD flags, ULONG *count, WCHAR *b
|
|||
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* GetProcessPreferredUILanguages (KERNEL32.@)
|
||||
*/
|
||||
BOOL WINAPI GetProcessPreferredUILanguages( DWORD flags, ULONG *count, WCHAR *buf, ULONG *size )
|
||||
{
|
||||
FIXME( "%08x, %p, %p %p\n", flags, count, buf, size );
|
||||
return get_dummy_preferred_ui_language( flags, count, buf, size );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* GetSystemPreferredUILanguages (KERNEL32.@)
|
||||
*/
|
||||
|
@ -1309,6 +1318,15 @@ BOOL WINAPI GetSystemPreferredUILanguages(DWORD flags, ULONG* count, WCHAR* buff
|
|||
return get_dummy_preferred_ui_language( flags, count, buffer, size );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* SetProcessPreferredUILanguages (KERNEL32.@)
|
||||
*/
|
||||
BOOL WINAPI SetProcessPreferredUILanguages( DWORD flags, PCZZWSTR buffer, PULONG count )
|
||||
{
|
||||
FIXME("%u, %p, %p\n", flags, buffer, count );
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* SetThreadPreferredUILanguages (KERNEL32.@)
|
||||
*/
|
||||
|
|
|
@ -633,7 +633,7 @@
|
|||
# @ stub GetProcessInformation
|
||||
# @ stub GetProcessMemoryInfo
|
||||
@ stdcall GetProcessMitigationPolicy(long long ptr long) kernel32.GetProcessMitigationPolicy
|
||||
@ stub GetProcessPreferredUILanguages
|
||||
@ stdcall GetProcessPreferredUILanguages(long ptr ptr ptr) kernel32.GetProcessPreferredUILanguages
|
||||
@ stdcall GetProcessPriorityBoost(long ptr) kernel32.GetProcessPriorityBoost
|
||||
@ stdcall GetProcessShutdownParameters(ptr ptr) kernel32.GetProcessShutdownParameters
|
||||
@ stdcall GetProcessTimes(long ptr ptr ptr ptr) kernel32.GetProcessTimes
|
||||
|
@ -1458,7 +1458,7 @@
|
|||
# @ stub SetProcessGroupAffinity
|
||||
# @ stub SetProcessInformation
|
||||
@ stdcall SetProcessMitigationPolicy(long ptr long) kernel32.SetProcessMitigationPolicy
|
||||
# @ stub SetProcessPreferredUILanguages
|
||||
@ stdcall SetProcessPreferredUILanguages(long ptr ptr) kernel32.SetProcessPreferredUILanguages
|
||||
@ stdcall SetProcessPriorityBoost(long long) kernel32.SetProcessPriorityBoost
|
||||
@ stdcall SetProcessShutdownParameters(long long) kernel32.SetProcessShutdownParameters
|
||||
# @ stub SetProcessValidCallTargets
|
||||
|
|
Loading…
Reference in New Issue