Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
2fbd4a01
Commit
2fbd4a01
authored
Oct 07, 2002
by
Steve Lustbader
Committed by
Alexandre Julliard
Oct 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement GetUserDefaultUILanguage and GetSystemDefaultUILanguage.
parent
9240bc3f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
kernel32.spec
dlls/kernel/kernel32.spec
+2
-0
winnls.h
include/winnls.h
+2
-0
codepage.c
memory/codepage.c
+18
-0
No files found.
dlls/kernel/kernel32.spec
View file @
2fbd4a01
...
...
@@ -439,6 +439,7 @@ init MAIN_KernelInit
@ stdcall GetStringTypeW(long wstr long ptr) GetStringTypeW
@ stdcall GetSystemDefaultLCID() GetSystemDefaultLCID
@ stdcall GetSystemDefaultLangID() GetSystemDefaultLangID
@ stdcall GetSystemDefaultUILanguage() GetSystemDefaultUILanguage
@ stdcall GetSystemDirectoryA(ptr long) GetSystemDirectoryA
@ stdcall GetSystemDirectoryW(ptr long) GetSystemDirectoryW
@ stdcall GetSystemInfo(ptr) GetSystemInfo
...
...
@@ -464,6 +465,7 @@ init MAIN_KernelInit
@ stdcall GetTimeZoneInformation(ptr) GetTimeZoneInformation
@ stdcall GetUserDefaultLCID() GetUserDefaultLCID
@ stdcall GetUserDefaultLangID() GetUserDefaultLangID
@ stdcall GetUserDefaultUILanguage() GetUserDefaultUILanguage
@ stdcall GetVersion() GetVersion
@ stdcall GetVersionExA(ptr) GetVersionExA
@ stdcall GetVersionExW(ptr) GetVersionExW
...
...
include/winnls.h
View file @
2fbd4a01
...
...
@@ -516,12 +516,14 @@ BOOL WINAPI GetStringTypeExW(LCID,DWORD,LPCWSTR,INT,LPWORD);
#define GetStringTypeEx WINELIB_NAME_AW(GetStringTypeEx)
LANGID
WINAPI
GetSystemDefaultLangID
(
void
);
LCID
WINAPI
GetSystemDefaultLCID
(
void
);
LANGID
WINAPI
GetSystemDefaultUILanguage
(
void
);
LCID
WINAPI
GetThreadLocale
(
void
);
INT
WINAPI
GetTimeFormatA
(
LCID
,
DWORD
,
const
SYSTEMTIME
*
,
LPCSTR
,
LPSTR
,
INT
);
INT
WINAPI
GetTimeFormatW
(
LCID
,
DWORD
,
const
SYSTEMTIME
*
,
LPCWSTR
,
LPWSTR
,
INT
);
#define GetTimeFormat WINELIB_NAME_AW(GetTimeFormat)
LANGID
WINAPI
GetUserDefaultLangID
(
void
);
LCID
WINAPI
GetUserDefaultLCID
(
void
);
LANGID
WINAPI
GetUserDefaultUILanguage
(
void
);
BOOL
WINAPI
IsDBCSLeadByte
(
BYTE
);
BOOL
WINAPI
IsDBCSLeadByteEx
(
UINT
,
BYTE
);
BOOL
WINAPI
IsValidCodePage
(
UINT
);
...
...
memory/codepage.c
View file @
2fbd4a01
...
...
@@ -177,6 +177,24 @@ LCID WINAPI GetSystemDefaultLCID(void)
/***********************************************************************
* GetUserDefaultUILanguage (KERNEL32.@)
*/
LANGID
WINAPI
GetUserDefaultUILanguage
(
void
)
{
return
GetUserDefaultLangID
();
}
/***********************************************************************
* GetSystemDefaultUILanguage (KERNEL32.@)
*/
LANGID
WINAPI
GetSystemDefaultUILanguage
(
void
)
{
return
GetSystemDefaultLangID
();
}
/***********************************************************************
* IsDBCSLeadByteEx (KERNEL32.@)
*/
BOOL
WINAPI
IsDBCSLeadByteEx
(
UINT
codepage
,
BYTE
testchar
)
...
...
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