[PATCH 1/2] kernel32: Add stub for GetDynamicTimeZoneInformationEffectiveYears().

Guillaume Charifi guillaume.charifi at sfr.fr
Wed Aug 8 00:41:38 CDT 2018


Signed-off-by: Guillaume Charifi <guillaume.charifi at sfr.fr>
---
 dlls/kernel32/kernel32.spec | 1 +
 dlls/kernel32/time.c        | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index de6f007999..3060896daa 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -657,6 +657,7 @@
 # @ stub GetDurationFormat
 # @ stub GetDurationFormatEx
 @ stdcall GetDynamicTimeZoneInformation(ptr)
+@ stdcall GetDynamicTimeZoneInformationEffectiveYears(ptr ptr ptr)
 @ stdcall -ret64 -arch=i386,x86_64 GetEnabledXStateFeatures()
 @ stdcall GetEnvironmentStrings() GetEnvironmentStringsA
 @ stdcall GetEnvironmentStringsA()
diff --git a/dlls/kernel32/time.c b/dlls/kernel32/time.c
index 91b2c006c7..57ad10d234 100644
--- a/dlls/kernel32/time.c
+++ b/dlls/kernel32/time.c
@@ -1447,6 +1447,15 @@ DWORD WINAPI GetDynamicTimeZoneInformation(DYNAMIC_TIME_ZONE_INFORMATION *tzinfo
     return TIME_ZoneID( (TIME_ZONE_INFORMATION*)tzinfo );
 }
 
+/***********************************************************************
+ *           GetDynamicTimeZoneInformationEffectiveYears   (KERNEL32.@)
+ */
+DWORD WINAPI GetDynamicTimeZoneInformationEffectiveYears(DYNAMIC_TIME_ZONE_INFORMATION *tzinfo, DWORD *first_year, DWORD *last_year)
+{
+    FIXME("(%p, %p, %p): stub!\n", tzinfo, first_year, last_year);
+    return ERROR_FILE_NOT_FOUND;
+}
+
 /***********************************************************************
  *           QueryProcessCycleTime   (KERNEL32.@)
  */
-- 
Guillaume Charifi <guillaume.charifi at sfr.fr>




More information about the wine-devel mailing list