Commit 123b6fec authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32: Rewrote the locale matching to match more elements and to support…

kernel32: Rewrote the locale matching to match more elements and to support Windows-format locale names. Added implementation for LocaleNameToLCID and LCIDToLocaleName.
parent 241336c7
......@@ -259,6 +259,25 @@ extern "C" {
#define LOCALE_FONTSIGNATURE 0x0058
#define LOCALE_SISO639LANGNAME 0x0059
#define LOCALE_SISO3166CTRYNAME 0x005A
#define LOCALE_SNAME 0x005C
#define LOCALE_SDURATION 0x005D
#define LOCALE_SKEYBOARDSTOINSTALL 0x005E
#define LOCALE_SSHORTESTDAYNAME1 0x0060
#define LOCALE_SSHORTESTDAYNAME2 0x0061
#define LOCALE_SSHORTESTDAYNAME3 0x0062
#define LOCALE_SSHORTESTDAYNAME4 0x0063
#define LOCALE_SSHORTESTDAYNAME5 0x0064
#define LOCALE_SSHORTESTDAYNAME6 0x0065
#define LOCALE_SSHORTESTDAYNAME7 0x0066
#define LOCALE_SISO639LANGNAME2 0x0067
#define LOCALE_SISO3166CTRYNAME2 0x0068
#define LOCALE_SNAN 0x0069
#define LOCALE_SPOSINFINITY 0x006A
#define LOCALE_SNEGINFINITY 0x006B
#define LOCALE_SSCRIPTS 0x006C
#define LOCALE_SPARENT 0x006D
#define LOCALE_SCONSOLEFALLBACKNAME 0x006E
#define LOCALE_SLANGDISPLAYNAME 0x006F
#define LOCALE_IDEFAULTEBCDICCODEPAGE 0x1012
#define LOCALE_IPAPERSIZE 0x100A
......@@ -743,9 +762,11 @@ BOOL WINAPI IsDBCSLeadByteEx(UINT,BYTE);
BOOL WINAPI IsValidCodePage(UINT);
BOOL WINAPI IsValidLocale(LCID,DWORD);
BOOL WINAPI IsValidLanguageGroup(LGRPID,DWORD);
INT WINAPI LCIDToLocaleName(LCID,LPWSTR,INT,DWORD);
INT WINAPI LCMapStringA(LCID,DWORD,LPCSTR,INT,LPSTR,INT);
INT WINAPI LCMapStringW(LCID,DWORD,LPCWSTR,INT,LPWSTR,INT);
#define LCMapString WINELIB_NAME_AW(LCMapString)
LCID WINAPI LocaleNameToLCID(LPCWSTR,DWORD);
INT WINAPI MultiByteToWideChar(UINT,DWORD,LPCSTR,INT,LPWSTR,INT);
INT WINAPI SetCalendarInfoA(LCID,CALID,CALTYPE,LPCSTR);
INT WINAPI SetCalendarInfoW(LCID,CALID,CALTYPE,LPCWSTR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment