From d78f9d9f946b5ed4de68b50b998a524de0cf3d80 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Mon, 26 Sep 2005 18:59:04 +0000 Subject: [PATCH] Stub and export EnumCalanderInfoExW and QueryWin31IniFilesMappedToRegistry svn path=/trunk/; revision=18100 --- reactos/lib/kernel32/kernel32.def | 4 ++-- reactos/lib/kernel32/misc/lang.c | 16 ++++++++++++++-- reactos/lib/kernel32/misc/profile.c | 15 +++++++++++++++ 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/reactos/lib/kernel32/kernel32.def b/reactos/lib/kernel32/kernel32.def index 84f28b9fa1f..8d1c13c732e 100644 --- a/reactos/lib/kernel32/kernel32.def +++ b/reactos/lib/kernel32/kernel32.def @@ -181,7 +181,7 @@ EnterCriticalSection@4=NTDLL.RtlEnterCriticalSection EnumCalendarInfoA@16 EnumCalendarInfoExA@16 EnumCalendarInfoExW@16 -;EnumCalendarInfoW@16 +EnumCalendarInfoW@16 EnumDateFormatsA@12 EnumDateFormatsExA@12 EnumDateFormatsExW@12 @@ -696,7 +696,7 @@ QueryPerformanceCounter@4 QueryPerformanceFrequency@4 QueueUserAPC@12 QueueUserWorkItem@12 -;QueryWin31IniFilesMappedToRegistry@16 +QueryWin31IniFilesMappedToRegistry@16 RaiseException@16 ReadConsoleA@20 ReadConsoleInputA@16 diff --git a/reactos/lib/kernel32/misc/lang.c b/reactos/lib/kernel32/misc/lang.c index 66f0baf67dc..3296642c7e5 100644 --- a/reactos/lib/kernel32/misc/lang.c +++ b/reactos/lib/kernel32/misc/lang.c @@ -104,8 +104,20 @@ EnumCalendarInfoExW( return 0; } - - +/* + * @unimplemented + */ +BOOL +STDCALL +EnumCalendarInfoW( + CALINFO_ENUMPROCW lpCalInfoEnumProcEx, + LCID Locale, + CALID Calendar, + CALTYPE CalType) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} /* * @unimplemented diff --git a/reactos/lib/kernel32/misc/profile.c b/reactos/lib/kernel32/misc/profile.c index e22aaa0ba63..485f5a9baab 100644 --- a/reactos/lib/kernel32/misc/profile.c +++ b/reactos/lib/kernel32/misc/profile.c @@ -1872,3 +1872,18 @@ CloseProfileUserMapping(VOID) SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; } + +/* + * @unimplemented + */ +BOOL +STDCALL +QueryWin31IniFilesMappedToRegistry(DWORD Unknown0, + DWORD Unknown1, + DWORD Unknown2, + DWORD Unknown3) +{ + DPRINT1("QueryWin31IniFilesMappedToRegistry not implemented\n"); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +}