kernel32: Add stub for ResolveLocaleName.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ddb78d73ab
commit
b9a9fe4a04
|
@ -39,7 +39,7 @@
|
|||
@ stub NlsUpdateLocale
|
||||
@ stub NlsUpdateSystemLocale
|
||||
@ stub NlsWriteEtwEvent
|
||||
@ stub ResolveLocaleName
|
||||
@ stdcall ResolveLocaleName(wstr ptr long) kernel32.ResolveLocaleName
|
||||
@ stdcall SetCalendarInfoW(long long long wstr) kernel32.SetCalendarInfoW
|
||||
@ stdcall SetLocaleInfoW(long long wstr) kernel32.SetLocaleInfoW
|
||||
@ stdcall SetThreadLocale(long) kernel32.SetThreadLocale
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
@ stdcall LCMapStringEx(wstr long wstr long ptr long ptr ptr long) kernel32.LCMapStringEx
|
||||
@ stdcall LCMapStringW(long long wstr long ptr long) kernel32.LCMapStringW
|
||||
@ stdcall LocaleNameToLCID(wstr long) kernel32.LocaleNameToLCID
|
||||
@ stub ResolveLocaleName
|
||||
@ stdcall ResolveLocaleName(wstr ptr long) kernel32.ResolveLocaleName
|
||||
@ stdcall SetCalendarInfoW(long long long wstr) kernel32.SetCalendarInfoW
|
||||
@ stdcall SetLocaleInfoW(long long wstr) kernel32.SetLocaleInfoW
|
||||
@ stub SetProcessPreferredUILanguages
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
@ stdcall LCMapStringEx(wstr long wstr long ptr long ptr ptr long) kernel32.LCMapStringEx
|
||||
@ stdcall LCMapStringW(long long wstr long ptr long) kernel32.LCMapStringW
|
||||
@ stdcall LocaleNameToLCID(wstr long) kernel32.LocaleNameToLCID
|
||||
@ stub ResolveLocaleName
|
||||
@ stdcall ResolveLocaleName(wstr ptr long) kernel32.ResolveLocaleName
|
||||
@ stdcall SetCalendarInfoW(long long long wstr) kernel32.SetCalendarInfoW
|
||||
@ stdcall SetLocaleInfoW(long long wstr) kernel32.SetLocaleInfoW
|
||||
@ stub SetProcessPreferredUILanguages
|
||||
|
|
|
@ -1281,7 +1281,7 @@
|
|||
@ stdcall ResetEvent(long)
|
||||
@ stdcall ResetWriteWatch(ptr long)
|
||||
@ stdcall ResolveDelayLoadedAPI(ptr ptr ptr ptr ptr long) ntdll.LdrResolveDelayLoadedAPI
|
||||
# @ stub ResolveLocaleName
|
||||
@ stdcall ResolveLocaleName(wstr ptr long)
|
||||
@ stdcall RestoreLastError(long) ntdll.RtlRestoreLastWin32Error
|
||||
@ stdcall ResumeThread(long)
|
||||
@ cdecl -arch=arm,x86_64 RtlAddFunctionTable(ptr long long) ntdll.RtlAddFunctionTable
|
||||
|
|
|
@ -5893,3 +5893,15 @@ BOOL WINAPI GetFileMUIInfo(DWORD flags, PCWSTR path, FILEMUIINFO *info, DWORD *s
|
|||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* ResolveLocaleName (KERNEL32.@)
|
||||
*/
|
||||
|
||||
INT WINAPI ResolveLocaleName(LPCWSTR name, LPWSTR localename, INT len)
|
||||
{
|
||||
FIXME("stub: %s, %p, %d\n", wine_dbgstr_w(name), localename, len);
|
||||
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -1345,7 +1345,7 @@
|
|||
@ stdcall ResetWriteWatch(ptr long) kernel32.ResetWriteWatch
|
||||
@ stdcall ResolveDelayLoadedAPI(ptr ptr ptr ptr ptr long) kernel32.ResolveDelayLoadedAPI
|
||||
# @ stub ResolveDelayLoadsFromDll
|
||||
@ stub ResolveLocaleName
|
||||
@ stdcall ResolveLocaleName(wstr ptr long) kernel32.ResolveLocaleName
|
||||
@ stdcall RestoreLastError(long) kernel32.RestoreLastError
|
||||
@ stdcall ResumeThread(long) kernel32.ResumeThread
|
||||
@ stdcall RevertToSelf() advapi32.RevertToSelf
|
||||
|
|
|
@ -950,6 +950,7 @@ WINBASEAPI INT WINAPI LCMapStringEx(LPCWSTR,DWORD,LPCWSTR,INT,LPWSTR,INT
|
|||
WINBASEAPI LCID WINAPI LocaleNameToLCID(LPCWSTR,DWORD);
|
||||
WINBASEAPI INT WINAPI MultiByteToWideChar(UINT,DWORD,LPCSTR,INT,LPWSTR,INT);
|
||||
WINNORMALIZEAPI INT WINAPI NormalizeString(NORM_FORM,LPCWSTR,INT,LPWSTR,INT);
|
||||
WINBASEAPI INT WINAPI ResolveLocaleName(LPCWSTR,LPWSTR,INT);
|
||||
WINBASEAPI INT WINAPI SetCalendarInfoA(LCID,CALID,CALTYPE,LPCSTR);
|
||||
WINBASEAPI INT WINAPI SetCalendarInfoW(LCID,CALID,CALTYPE,LPCWSTR);
|
||||
#define SetCalendarInfo WINELIB_NAME_AW(SetCalendarInfo)
|
||||
|
|
Loading…
Reference in New Issue