From: Doug Coleman Date: Sat, 23 Mar 2019 02:30:01 +0000 (-0500) Subject: windows.kernel32: add almost useless timezone function X-Git-Tag: 0.99~3879 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=a1a0bdfa4ea268e8a6a28e8931b1b73b902dee84 windows.kernel32: add almost useless timezone function --- diff --git a/basis/windows/kernel32/kernel32.factor b/basis/windows/kernel32/kernel32.factor index c6a86e2824..d1b994f82d 100644 --- a/basis/windows/kernel32/kernel32.factor +++ b/basis/windows/kernel32/kernel32.factor @@ -270,6 +270,20 @@ STRUCT: TIME_ZONE_INFORMATION { DaylightDate SYSTEMTIME } { DaylightBias LONG } ; +STRUCT: DYNAMIC_TIME_ZONE_INFORMATION + { Bias LONG } + { StandardName WCHAR[32] } + { StandardDate SYSTEMTIME } + { StandardBias LONG } + { DaylightName WCHAR[32] } + { DaylightDate SYSTEMTIME } + { DaylightBias LONG } + { TimeZoneKeyName WCHAR[128] } + { DynamicDaylightTimeDisabled BOOLEAN } ; + +TYPEDEF: DYNAMIC_TIME_ZONE_INFORMATION* PDYNAMIC_TIME_ZONE_INFORMATION + + STRUCT: FILETIME { dwLowDateTime DWORD } { dwHighDateTime DWORD } ; @@ -1366,6 +1380,9 @@ ALIAS: GetDiskFreeSpaceEx GetDiskFreeSpaceExW ! FUNCTION: GetDriveTypeA FUNCTION: UINT GetDriveTypeW ( LPCTSTR lpRootPathName ) ALIAS: GetDriveType GetDriveTypeW + +FUNCTION: DWORD GetDynamicTimeZoneInformation ( PDYNAMIC_TIME_ZONE_INFORMATION pTimeZoneInformation ) + FUNCTION: void* GetEnvironmentStringsW ( ) ! FUNCTION: GetEnvironmentStringsA ALIAS: GetEnvironmentStrings GetEnvironmentStringsW