1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_sys
::core
::link
! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn EnumDynamicTimeZoneInformation ( dwindex : u32 , lptimezoneinformation : *mut DYNAMIC_TIME_ZONE_INFORMATION ) -> u32 );
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn FileTimeToSystemTime ( lpfiletime : *const super::super::Foundation:: FILETIME , lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL );
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn GetDynamicTimeZoneInformation ( ptimezoneinformation : *mut DYNAMIC_TIME_ZONE_INFORMATION ) -> u32 );
7 #[cfg(feature = "Win32_Foundation")]
8 ::windows_sys
::core
::link
! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn GetDynamicTimeZoneInformationEffectiveYears ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION , firstyear : *mut u32 , lastyear : *mut u32 ) -> u32 );
9 #[cfg(feature = "Win32_Foundation")]
10 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn GetTimeZoneInformation ( lptimezoneinformation : *mut TIME_ZONE_INFORMATION ) -> u32 );
11 #[cfg(feature = "Win32_Foundation")]
12 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn GetTimeZoneInformationForYear ( wyear : u16 , pdtzi : *const DYNAMIC_TIME_ZONE_INFORMATION , ptzi : *mut TIME_ZONE_INFORMATION ) -> super::super::Foundation:: BOOL );
13 #[cfg(feature = "Win32_Foundation")]
14 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn LocalFileTimeToLocalSystemTime ( timezoneinformation : *const TIME_ZONE_INFORMATION , localfiletime : *const super::super::Foundation:: FILETIME , localsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL );
15 #[cfg(feature = "Win32_Foundation")]
16 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn LocalSystemTimeToLocalFileTime ( timezoneinformation : *const TIME_ZONE_INFORMATION , localsystemtime : *const super::super::Foundation:: SYSTEMTIME , localfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL );
17 #[cfg(feature = "Win32_Foundation")]
18 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn SetDynamicTimeZoneInformation ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION ) -> super::super::Foundation:: BOOL );
19 #[cfg(feature = "Win32_Foundation")]
20 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn SetTimeZoneInformation ( lptimezoneinformation : *const TIME_ZONE_INFORMATION ) -> super::super::Foundation:: BOOL );
21 #[cfg(feature = "Win32_Foundation")]
22 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn SystemTimeToFileTime ( lpsystemtime : *const super::super::Foundation:: SYSTEMTIME , lpfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL );
23 #[cfg(feature = "Win32_Foundation")]
24 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn SystemTimeToTzSpecificLocalTime ( lptimezoneinformation : *const TIME_ZONE_INFORMATION , lpuniversaltime : *const super::super::Foundation:: SYSTEMTIME , lplocaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL );
25 #[cfg(feature = "Win32_Foundation")]
26 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn SystemTimeToTzSpecificLocalTimeEx ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION , lpuniversaltime : *const super::super::Foundation:: SYSTEMTIME , lplocaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL );
27 #[cfg(feature = "Win32_Foundation")]
28 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn TzSpecificLocalTimeToSystemTime ( lptimezoneinformation : *const TIME_ZONE_INFORMATION , lplocaltime : *const super::super::Foundation:: SYSTEMTIME , lpuniversaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL );
29 #[cfg(feature = "Win32_Foundation")]
30 ::windows_sys
::core
::link
! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] fn TzSpecificLocalTimeToSystemTimeEx ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION , lplocaltime : *const super::super::Foundation:: SYSTEMTIME , lpuniversaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL );
31 #[doc = "*Required features: `\"Win32_System_Time\"`*"]
32 pub const TIME_ZONE_ID_INVALID
: u32 = 4294967295u32;
33 #[doc = "*Required features: `\"Win32_System_Time\"`*"]
34 pub const TSF_Authenticated
: u32 = 2u32;
35 #[doc = "*Required features: `\"Win32_System_Time\"`*"]
36 pub const TSF_Hardware
: u32 = 1u32;
37 #[doc = "*Required features: `\"Win32_System_Time\"`*"]
38 pub const TSF_IPv6
: u32 = 4u32;
39 #[doc = "*Required features: `\"Win32_System_Time\"`*"]
40 pub const TSF_SignatureAuthenticated
: u32 = 8u32;
41 #[doc = "*Required features: `\"Win32_System_Time\"`*"]
42 pub const wszW32TimeRegKeyPolicyTimeProviders
: ::windows_sys
::core
::PCWSTR
= ::windows_sys
::w
!("Software\\Policies\\Microsoft\\W32Time\\TimeProviders");
43 #[doc = "*Required features: `\"Win32_System_Time\"`*"]
44 pub const wszW32TimeRegKeyTimeProviders
: ::windows_sys
::core
::PCWSTR
= ::windows_sys
::w
!("System\\CurrentControlSet\\Services\\W32Time\\TimeProviders");
45 #[doc = "*Required features: `\"Win32_System_Time\"`*"]
46 pub const wszW32TimeRegValueDllName
: ::windows_sys
::core
::PCWSTR
= ::windows_sys
::w
!("DllName");
47 #[doc = "*Required features: `\"Win32_System_Time\"`*"]
48 pub const wszW32TimeRegValueEnabled
: ::windows_sys
::core
::PCWSTR
= ::windows_sys
::w
!("Enabled");
49 #[doc = "*Required features: `\"Win32_System_Time\"`*"]
50 pub const wszW32TimeRegValueInputProvider
: ::windows_sys
::core
::PCWSTR
= ::windows_sys
::w
!("InputProvider");
51 #[doc = "*Required features: `\"Win32_System_Time\"`*"]
52 pub const wszW32TimeRegValueMetaDataProvider
: ::windows_sys
::core
::PCWSTR
= ::windows_sys
::w
!("MetaDataProvider");
54 #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"]
55 #[cfg(feature = "Win32_Foundation")]
56 pub struct DYNAMIC_TIME_ZONE_INFORMATION
{
58 pub StandardName
: [u16; 32],
59 pub StandardDate
: super::super::Foundation
::SYSTEMTIME
,
60 pub StandardBias
: i32,
61 pub DaylightName
: [u16; 32],
62 pub DaylightDate
: super::super::Foundation
::SYSTEMTIME
,
63 pub DaylightBias
: i32,
64 pub TimeZoneKeyName
: [u16; 128],
65 pub DynamicDaylightTimeDisabled
: super::super::Foundation
::BOOLEAN
,
67 #[cfg(feature = "Win32_Foundation")]
68 impl ::core
::marker
::Copy
for DYNAMIC_TIME_ZONE_INFORMATION {}
69 #[cfg(feature = "Win32_Foundation")]
70 impl ::core
::clone
::Clone
for DYNAMIC_TIME_ZONE_INFORMATION
{
71 fn clone(&self) -> Self {
76 #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"]
77 #[cfg(feature = "Win32_Foundation")]
78 pub struct TIME_ZONE_INFORMATION
{
80 pub StandardName
: [u16; 32],
81 pub StandardDate
: super::super::Foundation
::SYSTEMTIME
,
82 pub StandardBias
: i32,
83 pub DaylightName
: [u16; 32],
84 pub DaylightDate
: super::super::Foundation
::SYSTEMTIME
,
85 pub DaylightBias
: i32,
87 #[cfg(feature = "Win32_Foundation")]
88 impl ::core
::marker
::Copy
for TIME_ZONE_INFORMATION {}
89 #[cfg(feature = "Win32_Foundation")]
90 impl ::core
::clone
::Clone
for TIME_ZONE_INFORMATION
{
91 fn clone(&self) -> Self {