kernel32: Partial implementation for GetCalendarInfoEx().

This commit is contained in:
Nikolay Sivov 2014-02-28 09:13:56 +04:00 committed by Alexandre Julliard
parent 91ee56769c
commit 95142cad53
3 changed files with 14 additions and 1 deletions

View file

@ -9,7 +9,7 @@
@ stdcall GetACP() kernel32.GetACP
@ stdcall GetCPInfo(long ptr) kernel32.GetCPInfo
@ stdcall GetCPInfoExW(long long ptr) kernel32.GetCPInfoExW
@ stub GetCalendarInfoEx
@ stdcall GetCalendarInfoEx(wstr long ptr long ptr long ptr) kernel32.GetCalendarInfoEx
@ stdcall GetCalendarInfoW(long long long ptr long ptr) kernel32.GetCalendarInfoW
@ stub GetFileMUIInfo
@ stub GetFileMUIPath

View file

@ -442,6 +442,7 @@
@ stdcall GetCPInfoExW(long long ptr)
@ stdcall GetCalendarInfoA(long long long ptr long ptr)
@ stdcall GetCalendarInfoW(long long long ptr long ptr)
@ stdcall GetCalendarInfoEx(wstr long ptr long ptr long ptr)
# @ stub GetComPlusPackageInstallStatus
@ stdcall GetCommConfig(long ptr long)
@ stdcall GetCommMask(long ptr)

View file

@ -797,6 +797,18 @@ int WINAPI GetCalendarInfoW(LCID Locale, CALID Calendar, CALTYPE CalType,
return 0;
}
/*********************************************************************
* GetCalendarInfoEx (KERNEL32.@)
*/
int WINAPI GetCalendarInfoEx(LPCWSTR locale, CALID calendar, LPCWSTR lpReserved, CALTYPE caltype,
LPWSTR data, int len, DWORD *value)
{
LCID lcid = LocaleNameToLCID(locale, 0);
FIXME("(%s, %d, %p, 0x%08x, %p, %d, %p): semi-stub\n", debugstr_w(locale), calendar, lpReserved, caltype,
data, len, value);
return GetCalendarInfoW(lcid, calendar, caltype, data, len, value);
}
/*********************************************************************
* SetCalendarInfoA (KERNEL32.@)
*