Akihiro Sagawa sagawa.aki@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.