17 Dec
2018
17 Dec
'18
2:04 p.m.
Akihiro Sagawa <sagawa.aki(a)gmail.com> writes:
@@ -340,6 +340,15 @@ static BOOL TIME_GetSpecificTimeZoneKey( const WCHAR *key_name, HANDLE *result ) return TRUE; }
+/* + * Lightweight version of GetTimeZoneInformation. + * If translated time zone name is useless, use this function instead. + */ +static inline DWORD TIME_GetTimeZoneInformation(TIME_ZONE_INFORMATION *tzinfo) +{ + return RtlQueryTimeZoneInformation((RTL_TIME_ZONE_INFORMATION *)tzinfo); +}
This wrapper doesn't seem very useful. Also note that the return value is different for Rtl functions. -- Alexandre Julliard julliard(a)winehq.org