Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
bc7e98a1
Commit
bc7e98a1
authored
May 20, 2019
by
Manuel Edelmann
Committed by
Alexandre Julliard
May 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Added stub for Set/GetProcessPreferredUILanguages.
Signed-off-by:
Manuel Edelmann
<
varris@protonmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9fec2e0d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
9 deletions
+27
-9
api-ms-win-core-localization-l1-1-0.spec
...alization-l1-1-0/api-ms-win-core-localization-l1-1-0.spec
+1
-1
api-ms-win-core-localization-l1-2-0.spec
...alization-l1-2-0/api-ms-win-core-localization-l1-2-0.spec
+2
-2
api-ms-win-core-localization-l1-2-1.spec
...alization-l1-2-1/api-ms-win-core-localization-l1-2-1.spec
+2
-2
kernel32.spec
dlls/kernel32/kernel32.spec
+2
-2
locale.c
dlls/kernel32/locale.c
+18
-0
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+2
-2
No files found.
dlls/api-ms-win-core-localization-l1-1-0/api-ms-win-core-localization-l1-1-0.spec
View file @
bc7e98a1
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
@ stub GetNLSVersion
@ stub GetNLSVersion
@ stub GetNLSVersionEx
@ stub GetNLSVersionEx
@ stdcall GetOEMCP() kernel32.GetOEMCP
@ stdcall GetOEMCP() kernel32.GetOEMCP
@ st
ub
GetProcessPreferredUILanguages
@ st
dcall GetProcessPreferredUILanguages(long ptr ptr ptr) kernel32.
GetProcessPreferredUILanguages
@ stdcall GetSystemDefaultLCID() kernel32.GetSystemDefaultLCID
@ stdcall GetSystemDefaultLCID() kernel32.GetSystemDefaultLCID
@ stdcall GetSystemDefaultLangID() kernel32.GetSystemDefaultLangID
@ stdcall GetSystemDefaultLangID() kernel32.GetSystemDefaultLangID
@ stdcall GetSystemPreferredUILanguages(long ptr ptr ptr) kernel32.GetSystemPreferredUILanguages
@ stdcall GetSystemPreferredUILanguages(long ptr ptr ptr) kernel32.GetSystemPreferredUILanguages
...
...
dlls/api-ms-win-core-localization-l1-2-0/api-ms-win-core-localization-l1-2-0.spec
View file @
bc7e98a1
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
@ stub GetNLSVersion
@ stub GetNLSVersion
@ stub GetNLSVersionEx
@ stub GetNLSVersionEx
@ stdcall GetOEMCP() kernel32.GetOEMCP
@ stdcall GetOEMCP() kernel32.GetOEMCP
@ st
ub
GetProcessPreferredUILanguages
@ st
dcall GetProcessPreferredUILanguages(long ptr ptr ptr) kernel32.
GetProcessPreferredUILanguages
@ stdcall GetSystemDefaultLCID() kernel32.GetSystemDefaultLCID
@ stdcall GetSystemDefaultLCID() kernel32.GetSystemDefaultLCID
@ stdcall GetSystemDefaultLangID() kernel32.GetSystemDefaultLangID
@ stdcall GetSystemDefaultLangID() kernel32.GetSystemDefaultLangID
@ stdcall GetSystemPreferredUILanguages(long ptr ptr ptr) kernel32.GetSystemPreferredUILanguages
@ stdcall GetSystemPreferredUILanguages(long ptr ptr ptr) kernel32.GetSystemPreferredUILanguages
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
@ stdcall ResolveLocaleName(wstr ptr long) kernel32.ResolveLocaleName
@ stdcall ResolveLocaleName(wstr ptr long) kernel32.ResolveLocaleName
@ stdcall SetCalendarInfoW(long long long wstr) kernel32.SetCalendarInfoW
@ stdcall SetCalendarInfoW(long long long wstr) kernel32.SetCalendarInfoW
@ stdcall SetLocaleInfoW(long long wstr) kernel32.SetLocaleInfoW
@ stdcall SetLocaleInfoW(long long wstr) kernel32.SetLocaleInfoW
@ st
ub
SetProcessPreferredUILanguages
@ st
dcall SetProcessPreferredUILanguages(long ptr ptr) kernel32.
SetProcessPreferredUILanguages
@ stdcall SetThreadLocale(long) kernel32.SetThreadLocale
@ stdcall SetThreadLocale(long) kernel32.SetThreadLocale
@ stdcall SetThreadPreferredUILanguages(long ptr ptr) kernel32.SetThreadPreferredUILanguages
@ stdcall SetThreadPreferredUILanguages(long ptr ptr) kernel32.SetThreadPreferredUILanguages
@ stdcall SetThreadUILanguage(long) kernel32.SetThreadUILanguage
@ stdcall SetThreadUILanguage(long) kernel32.SetThreadUILanguage
...
...
dlls/api-ms-win-core-localization-l1-2-1/api-ms-win-core-localization-l1-2-1.spec
View file @
bc7e98a1
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
@ stub GetNLSVersion
@ stub GetNLSVersion
@ stub GetNLSVersionEx
@ stub GetNLSVersionEx
@ stdcall GetOEMCP() kernel32.GetOEMCP
@ stdcall GetOEMCP() kernel32.GetOEMCP
@ st
ub
GetProcessPreferredUILanguages
@ st
dcall GetProcessPreferredUILanguages(long ptr ptr ptr) kernel32.
GetProcessPreferredUILanguages
@ stdcall GetSystemDefaultLCID() kernel32.GetSystemDefaultLCID
@ stdcall GetSystemDefaultLCID() kernel32.GetSystemDefaultLCID
@ stdcall GetSystemDefaultLangID() kernel32.GetSystemDefaultLangID
@ stdcall GetSystemDefaultLangID() kernel32.GetSystemDefaultLangID
@ stdcall GetSystemPreferredUILanguages(long ptr ptr ptr) kernel32.GetSystemPreferredUILanguages
@ stdcall GetSystemPreferredUILanguages(long ptr ptr ptr) kernel32.GetSystemPreferredUILanguages
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
@ stdcall ResolveLocaleName(wstr ptr long) kernel32.ResolveLocaleName
@ stdcall ResolveLocaleName(wstr ptr long) kernel32.ResolveLocaleName
@ stdcall SetCalendarInfoW(long long long wstr) kernel32.SetCalendarInfoW
@ stdcall SetCalendarInfoW(long long long wstr) kernel32.SetCalendarInfoW
@ stdcall SetLocaleInfoW(long long wstr) kernel32.SetLocaleInfoW
@ stdcall SetLocaleInfoW(long long wstr) kernel32.SetLocaleInfoW
@ st
ub
SetProcessPreferredUILanguages
@ st
dcall SetProcessPreferredUILanguages(long ptr ptr) kernel32.
SetProcessPreferredUILanguages
@ stdcall SetThreadLocale(long) kernel32.SetThreadLocale
@ stdcall SetThreadLocale(long) kernel32.SetThreadLocale
@ stdcall SetThreadPreferredUILanguages(long ptr ptr) kernel32.SetThreadPreferredUILanguages
@ stdcall SetThreadPreferredUILanguages(long ptr ptr) kernel32.SetThreadPreferredUILanguages
@ stdcall SetThreadUILanguage(long) kernel32.SetThreadUILanguage
@ stdcall SetThreadUILanguage(long) kernel32.SetThreadUILanguage
...
...
dlls/kernel32/kernel32.spec
View file @
bc7e98a1
...
@@ -786,7 +786,7 @@
...
@@ -786,7 +786,7 @@
@ stdcall GetProcessIdOfThread(long)
@ stdcall GetProcessIdOfThread(long)
@ stdcall GetProcessIoCounters(long ptr)
@ stdcall GetProcessIoCounters(long ptr)
@ stdcall GetProcessMitigationPolicy(long long ptr long)
@ stdcall GetProcessMitigationPolicy(long long ptr long)
# @ stub GetProcessPreferredUILanguages
@ stdcall GetProcessPreferredUILanguages(long ptr ptr ptr)
@ stdcall GetProcessPriorityBoost(long ptr)
@ stdcall GetProcessPriorityBoost(long ptr)
@ stdcall GetProcessShutdownParameters(ptr ptr)
@ stdcall GetProcessShutdownParameters(ptr ptr)
# @ stub GetProcessorSystemCycleTime
# @ stub GetProcessorSystemCycleTime
...
@@ -1429,7 +1429,7 @@
...
@@ -1429,7 +1429,7 @@
@ stdcall SetProcessAffinityUpdateMode(long long)
@ stdcall SetProcessAffinityUpdateMode(long long)
@ stdcall SetProcessDEPPolicy(long)
@ stdcall SetProcessDEPPolicy(long)
@ stdcall SetProcessMitigationPolicy(long ptr long)
@ stdcall SetProcessMitigationPolicy(long ptr long)
# @ stub SetProcessPreferredUILanguages
@ stdcall SetProcessPreferredUILanguages(long ptr ptr)
@ stdcall SetProcessPriorityBoost(long long)
@ stdcall SetProcessPriorityBoost(long long)
@ stdcall SetProcessShutdownParameters(long long)
@ stdcall SetProcessShutdownParameters(long long)
# @ stub SetProcessUserModeExceptionPolicy
# @ stub SetProcessUserModeExceptionPolicy
...
...
dlls/kernel32/locale.c
View file @
bc7e98a1
...
@@ -1286,6 +1286,15 @@ static BOOL get_dummy_preferred_ui_language( DWORD flags, ULONG *count, WCHAR *b
...
@@ -1286,6 +1286,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.@)
* GetSystemPreferredUILanguages (KERNEL32.@)
*/
*/
BOOL
WINAPI
GetSystemPreferredUILanguages
(
DWORD
flags
,
ULONG
*
count
,
WCHAR
*
buffer
,
ULONG
*
size
)
BOOL
WINAPI
GetSystemPreferredUILanguages
(
DWORD
flags
,
ULONG
*
count
,
WCHAR
*
buffer
,
ULONG
*
size
)
...
@@ -1310,6 +1319,15 @@ BOOL WINAPI GetSystemPreferredUILanguages(DWORD flags, ULONG* count, WCHAR* buff
...
@@ -1310,6 +1319,15 @@ BOOL WINAPI GetSystemPreferredUILanguages(DWORD flags, ULONG* count, WCHAR* buff
}
}
/***********************************************************************
/***********************************************************************
* SetProcessPreferredUILanguages (KERNEL32.@)
*/
BOOL
WINAPI
SetProcessPreferredUILanguages
(
DWORD
flags
,
PCZZWSTR
buffer
,
PULONG
count
)
{
FIXME
(
"%u, %p, %p
\n
"
,
flags
,
buffer
,
count
);
return
TRUE
;
}
/***********************************************************************
* SetThreadPreferredUILanguages (KERNEL32.@)
* SetThreadPreferredUILanguages (KERNEL32.@)
*/
*/
BOOL
WINAPI
SetThreadPreferredUILanguages
(
DWORD
flags
,
PCZZWSTR
buffer
,
PULONG
count
)
BOOL
WINAPI
SetThreadPreferredUILanguages
(
DWORD
flags
,
PCZZWSTR
buffer
,
PULONG
count
)
...
...
dlls/kernelbase/kernelbase.spec
View file @
bc7e98a1
...
@@ -633,7 +633,7 @@
...
@@ -633,7 +633,7 @@
# @ stub GetProcessInformation
# @ stub GetProcessInformation
# @ stub GetProcessMemoryInfo
# @ stub GetProcessMemoryInfo
@ stdcall GetProcessMitigationPolicy(long long ptr long) kernel32.GetProcessMitigationPolicy
@ stdcall GetProcessMitigationPolicy(long long ptr long) kernel32.GetProcessMitigationPolicy
@ st
ub
GetProcessPreferredUILanguages
@ st
dcall GetProcessPreferredUILanguages(long ptr ptr ptr) kernel32.
GetProcessPreferredUILanguages
@ stdcall GetProcessPriorityBoost(long ptr) kernel32.GetProcessPriorityBoost
@ stdcall GetProcessPriorityBoost(long ptr) kernel32.GetProcessPriorityBoost
@ stdcall GetProcessShutdownParameters(ptr ptr) kernel32.GetProcessShutdownParameters
@ stdcall GetProcessShutdownParameters(ptr ptr) kernel32.GetProcessShutdownParameters
@ stdcall GetProcessTimes(long ptr ptr ptr ptr) kernel32.GetProcessTimes
@ stdcall GetProcessTimes(long ptr ptr ptr ptr) kernel32.GetProcessTimes
...
@@ -1458,7 +1458,7 @@
...
@@ -1458,7 +1458,7 @@
# @ stub SetProcessGroupAffinity
# @ stub SetProcessGroupAffinity
# @ stub SetProcessInformation
# @ stub SetProcessInformation
@ stdcall SetProcessMitigationPolicy(long ptr long) kernel32.SetProcessMitigationPolicy
@ stdcall SetProcessMitigationPolicy(long ptr long) kernel32.SetProcessMitigationPolicy
# @ stub
SetProcessPreferredUILanguages
@ stdcall SetProcessPreferredUILanguages(long ptr ptr) kernel32.
SetProcessPreferredUILanguages
@ stdcall SetProcessPriorityBoost(long long) kernel32.SetProcessPriorityBoost
@ stdcall SetProcessPriorityBoost(long long) kernel32.SetProcessPriorityBoost
@ stdcall SetProcessShutdownParameters(long long) kernel32.SetProcessShutdownParameters
@ stdcall SetProcessShutdownParameters(long long) kernel32.SetProcessShutdownParameters
# @ stub SetProcessValidCallTargets
# @ stub SetProcessValidCallTargets
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment