pub const TIME_ZONE_ID_INVALID: u32 = 0xffffffff;
#[repr(C)]
pub struct DYNAMIC_TIME_ZONE_INFORMATION {
bias: i32,
standard_name: [u16; 32],
standard_date: SYSTEMTIME,
standard_bias: i32,
daylight_name: [u16; 32],
daylight_date: SYSTEMTIME,
daylight_bias: i32,
pub timezone_key_name: [u16; 128],
dynamic_daylight_time_disabled: u8,
}
#[repr(C)]
struct SYSTEMTIME {
year: u16,
month: u16,
day_of_week: u16,
day: u16,
hour: u16,
minute: u16,
seconds: u16,
milliseconds: u16,
}
windows_link::link!("kernel32.dll" "system" fn GetDynamicTimeZoneInformation(info: *mut DYNAMIC_TIME_ZONE_INFORMATION) -> u32);