public static extern uint GetDynamicTimeZoneInformation(out _TIME_DYNAMIC_ZONE_INFORMATION pTimeZoneInformation);
		public static extern bool GetTimeZoneInformationForYear(ushort wYear, _TIME_DYNAMIC_ZONE_INFORMATION pdtzi, out _TIME_ZONE_INFORMATION ptzi);
 public static extern uint EnumDynamicTimeZoneInformation([In()]uint dwIndex, out _TIME_DYNAMIC_ZONE_INFORMATION lpTimeZoneInformation);
		public static extern bool SetDynamicTimeZoneInformation(_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);
        }
 public static extern uint EnumDynamicTimeZoneInformation([In()] uint dwIndex, out _TIME_DYNAMIC_ZONE_INFORMATION lpTimeZoneInformation);
Exemple #7
0
 public static extern bool GetTimeZoneInformationForYear(ushort wYear, _TIME_DYNAMIC_ZONE_INFORMATION pdtzi, out _TIME_ZONE_INFORMATION ptzi);
Exemple #8
0
 public static extern uint GetDynamicTimeZoneInformation(out _TIME_DYNAMIC_ZONE_INFORMATION pTimeZoneInformation);
Exemple #9
0
 public static extern bool SetDynamicTimeZoneInformation(_TIME_DYNAMIC_ZONE_INFORMATION lpTimeZoneInformation);