1 // Bindings generated by `windows-bindgen` 0.52.0
2 
3 #![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)]
4 ::windows_targets::link!("kernel32.dll" "system" fn GetTimeZoneInformationForYear(wyear : u16, pdtzi : *const DYNAMIC_TIME_ZONE_INFORMATION, ptzi : *mut TIME_ZONE_INFORMATION) -> BOOL);
5 ::windows_targets::link!("kernel32.dll" "system" fn SystemTimeToFileTime(lpsystemtime : *const SYSTEMTIME, lpfiletime : *mut FILETIME) -> BOOL);
6 ::windows_targets::link!("kernel32.dll" "system" fn SystemTimeToTzSpecificLocalTime(lptimezoneinformation : *const TIME_ZONE_INFORMATION, lpuniversaltime : *const SYSTEMTIME, lplocaltime : *mut SYSTEMTIME) -> BOOL);
7 ::windows_targets::link!("kernel32.dll" "system" fn TzSpecificLocalTimeToSystemTime(lptimezoneinformation : *const TIME_ZONE_INFORMATION, lplocaltime : *const SYSTEMTIME, lpuniversaltime : *mut SYSTEMTIME) -> BOOL);
8 pub type BOOL = i32;
9 pub type BOOLEAN = u8;
10 #[repr(C)]
11 pub struct DYNAMIC_TIME_ZONE_INFORMATION {
12     pub Bias: i32,
13     pub StandardName: [u16; 32],
14     pub StandardDate: SYSTEMTIME,
15     pub StandardBias: i32,
16     pub DaylightName: [u16; 32],
17     pub DaylightDate: SYSTEMTIME,
18     pub DaylightBias: i32,
19     pub TimeZoneKeyName: [u16; 128],
20     pub DynamicDaylightTimeDisabled: BOOLEAN,
21 }
22 impl ::core::marker::Copy for DYNAMIC_TIME_ZONE_INFORMATION {}
23 impl ::core::clone::Clone for DYNAMIC_TIME_ZONE_INFORMATION {
clone(&self) -> Self24     fn clone(&self) -> Self {
25         *self
26     }
27 }
28 #[repr(C)]
29 pub struct FILETIME {
30     pub dwLowDateTime: u32,
31     pub dwHighDateTime: u32,
32 }
33 impl ::core::marker::Copy for FILETIME {}
34 impl ::core::clone::Clone for FILETIME {
clone(&self) -> Self35     fn clone(&self) -> Self {
36         *self
37     }
38 }
39 #[repr(C)]
40 pub struct SYSTEMTIME {
41     pub wYear: u16,
42     pub wMonth: u16,
43     pub wDayOfWeek: u16,
44     pub wDay: u16,
45     pub wHour: u16,
46     pub wMinute: u16,
47     pub wSecond: u16,
48     pub wMilliseconds: u16,
49 }
50 impl ::core::marker::Copy for SYSTEMTIME {}
51 impl ::core::clone::Clone for SYSTEMTIME {
clone(&self) -> Self52     fn clone(&self) -> Self {
53         *self
54     }
55 }
56 #[repr(C)]
57 pub struct TIME_ZONE_INFORMATION {
58     pub Bias: i32,
59     pub StandardName: [u16; 32],
60     pub StandardDate: SYSTEMTIME,
61     pub StandardBias: i32,
62     pub DaylightName: [u16; 32],
63     pub DaylightDate: SYSTEMTIME,
64     pub DaylightBias: i32,
65 }
66 impl ::core::marker::Copy for TIME_ZONE_INFORMATION {}
67 impl ::core::clone::Clone for TIME_ZONE_INFORMATION {
clone(&self) -> Self68     fn clone(&self) -> Self {
69         *self
70     }
71 }
72