Browse Source

Import TzSpecificLocalTimeToSystemTime.

(cherry picked from commit b480979c538387c54a4651c3063f4eae96cc7ed2)
Rika Ichinose 1 năm trước cách đây
mục cha
commit
72ceae7454
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      rtl/win/wininc/func.inc

+ 1 - 0
rtl/win/wininc/func.inc

@@ -248,6 +248,7 @@ function SetLocalTime(lpSystemTime:LPSYSTEMTIME):WINBOOL; external 'kernel32' na
 procedure GetSystemInfo(lpSystemInfo:LPSYSTEM_INFO); external 'kernel32' name 'GetSystemInfo';
 procedure GetNativeSystemInfo(lpSystemInfo:LPSYSTEM_INFO); external 'kernel32' name 'GetNativeSystemInfo';
 function SystemTimeToTzSpecificLocalTime(lpTimeZoneInformation:LPTIME_ZONE_INFORMATION; lpUniversalTime:LPSYSTEMTIME; lpLocalTime:LPSYSTEMTIME):WINBOOL; external 'kernel32' name 'SystemTimeToTzSpecificLocalTime';
+function TzSpecificLocalTimeToSystemTime(lpTimeZoneInformation:LPTIME_ZONE_INFORMATION; lpLocalTime:LPSYSTEMTIME; lpUniversalTime:LPSYSTEMTIME):WINBOOL; external 'kernel32' name 'TzSpecificLocalTimeToSystemTime';
 function GetTimeZoneInformation(lpTimeZoneInformation:LPTIME_ZONE_INFORMATION):DWORD; external 'kernel32' name 'GetTimeZoneInformation';
 function SetTimeZoneInformation(lpTimeZoneInformation:LPTIME_ZONE_INFORMATION):WINBOOL; external 'kernel32' name 'SetTimeZoneInformation';
 function SystemTimeToFileTime(lpSystemTime:LPSYSTEMTIME; lpFileTime:LPFILETIME):WINBOOL; external 'kernel32' name 'SystemTimeToFileTime';