summaryrefslogtreecommitdiffstats
path: root/third_party/rust/winapi-0.2.8/src/timezoneapi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/winapi-0.2.8/src/timezoneapi.rs')
-rw-r--r--third_party/rust/winapi-0.2.8/src/timezoneapi.rs27
1 files changed, 27 insertions, 0 deletions
diff --git a/third_party/rust/winapi-0.2.8/src/timezoneapi.rs b/third_party/rust/winapi-0.2.8/src/timezoneapi.rs
new file mode 100644
index 0000000000..3c84b209fc
--- /dev/null
+++ b/third_party/rust/winapi-0.2.8/src/timezoneapi.rs
@@ -0,0 +1,27 @@
+// Copyright © 2015, Peter Atashian
+// Licensed under the MIT License <LICENSE.md>
+//! ApiSet Contract for api-ms-win-core-timezone-l1
+pub const TIME_ZONE_ID_INVALID: ::DWORD = 0xFFFFFFFF;
+STRUCT!{struct TIME_ZONE_INFORMATION {
+ Bias: ::LONG,
+ StandardName: [::WCHAR; 32],
+ StandardDate: ::SYSTEMTIME,
+ StandardBias: ::LONG,
+ DaylightName: [::WCHAR; 32],
+ DaylightDate: ::SYSTEMTIME,
+ DaylightBias: ::LONG,
+}}
+pub type PTIME_ZONE_INFORMATION = *mut TIME_ZONE_INFORMATION;
+pub type LPTIME_ZONE_INFORMATION = *mut TIME_ZONE_INFORMATION;
+STRUCT!{nodebug 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,
+}}
+pub type PDYNAMIC_TIME_ZONE_INFORMATION = *mut DYNAMIC_TIME_ZONE_INFORMATION;