Beispiel #1
0
 internal extern static uint GetDynamicTimeZoneInformationEffectiveYears(ref _TIME_DYNAMIC_ZONE_INFORMATION lpTimeZoneInformation, out uint FirstYear, out uint LastYear);
Beispiel #2
0
 internal extern static bool GetTimeZoneInformationForYear(ushort wYear, ref _TIME_DYNAMIC_ZONE_INFORMATION pdtzi, out _TIME_ZONE_INFORMATION ptzi);
Beispiel #3
0
 internal extern static uint EnumDynamicTimeZoneInformation(uint dwIndex, out _TIME_DYNAMIC_ZONE_INFORMATION lpTimeZoneInformation);
Beispiel #4
0
 internal extern static uint GetDynamicTimeZoneInformation(out _TIME_DYNAMIC_ZONE_INFORMATION pTimeZoneInformation);
Beispiel #5
0
 internal extern static bool GetTimeZoneInformationForYear(ushort wYear, ref _TIME_DYNAMIC_ZONE_INFORMATION pdtzi, out _TIME_ZONE_INFORMATION ptzi);
Beispiel #6
0
 internal extern static uint GetDynamicTimeZoneInformationEffectiveYears(ref _TIME_DYNAMIC_ZONE_INFORMATION lpTimeZoneInformation, out uint FirstYear, out uint LastYear);
Beispiel #7
0
 internal extern static uint GetDynamicTimeZoneInformation(out _TIME_DYNAMIC_ZONE_INFORMATION pTimeZoneInformation);
Beispiel #8
0
 internal extern static uint EnumDynamicTimeZoneInformation(uint dwIndex, out _TIME_DYNAMIC_ZONE_INFORMATION lpTimeZoneInformation);
        private bool getDynamicTimeZone(uint index, out _TIME_DYNAMIC_ZONE_INFORMATION dtzi)
        {
            var error = Advapi32.EnumDynamicTimeZoneInformation(index, out dtzi);

            return(error == WinError.ERROR_SUCCESS);
        }