]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Win32/System/EventNotificationService/mod.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / System / EventNotificationService / mod.rs
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_sys::core::link ! ( "sensapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] fn IsDestinationReachableA ( lpszdestination : :: windows_sys::core::PCSTR , lpqocinfo : *mut QOCINFO ) -> super::super::Foundation:: BOOL );
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_sys::core::link ! ( "sensapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] fn IsDestinationReachableW ( lpszdestination : :: windows_sys::core::PCWSTR , lpqocinfo : *mut QOCINFO ) -> super::super::Foundation:: BOOL );
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_sys::core::link ! ( "sensapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] fn IsNetworkAlive ( lpdwflags : *mut u32 ) -> super::super::Foundation:: BOOL );
7 pub type ISensLogon = *mut ::core::ffi::c_void;
8 pub type ISensLogon2 = *mut ::core::ffi::c_void;
9 pub type ISensNetwork = *mut ::core::ffi::c_void;
10 pub type ISensOnNow = *mut ::core::ffi::c_void;
11 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
12 pub const CONNECTION_AOL: u32 = 4u32;
13 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
14 pub const NETWORK_ALIVE_AOL: u32 = 4u32;
15 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
16 pub const NETWORK_ALIVE_INTERNET: u32 = 8u32;
17 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
18 pub const NETWORK_ALIVE_LAN: u32 = 1u32;
19 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
20 pub const NETWORK_ALIVE_WAN: u32 = 2u32;
21 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
22 pub const SENS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd597cafe_5b9f_11d1_8dd2_00aa004abd5e);
23 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
24 pub const SENSGUID_EVENTCLASS_LOGON: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978630_5b9f_11d1_8dd2_00aa004abd5e);
25 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
26 pub const SENSGUID_EVENTCLASS_LOGON2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978650_5b9f_11d1_8dd2_00aa004abd5e);
27 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
28 pub const SENSGUID_EVENTCLASS_NETWORK: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978620_5b9f_11d1_8dd2_00aa004abd5e);
29 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
30 pub const SENSGUID_EVENTCLASS_ONNOW: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978640_5b9f_11d1_8dd2_00aa004abd5e);
31 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
32 pub const SENSGUID_PUBLISHER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5fee1bd6_5b9b_11d1_8dd2_00aa004abd5e);
33 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
34 pub const SENSGUID_SUBSCRIBER_LCE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd3938ab0_5b9d_11d1_8dd2_00aa004abd5e);
35 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
36 pub const SENSGUID_SUBSCRIBER_WININET: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd3938ab5_5b9d_11d1_8dd2_00aa004abd5e);
37 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
38 pub type SENS_CONNECTION_TYPE = u32;
39 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
40 pub const CONNECTION_LAN: SENS_CONNECTION_TYPE = 0u32;
41 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
42 pub const CONNECTION_WAN: SENS_CONNECTION_TYPE = 1u32;
43 #[repr(C)]
44 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
45 pub struct QOCINFO {
46 pub dwSize: u32,
47 pub dwFlags: u32,
48 pub dwInSpeed: u32,
49 pub dwOutSpeed: u32,
50 }
51 impl ::core::marker::Copy for QOCINFO {}
52 impl ::core::clone::Clone for QOCINFO {
53 fn clone(&self) -> Self {
54 *self
55 }
56 }
57 #[repr(C)]
58 #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
59 pub struct SENS_QOCINFO {
60 pub dwSize: u32,
61 pub dwFlags: u32,
62 pub dwOutSpeed: u32,
63 pub dwInSpeed: u32,
64 }
65 impl ::core::marker::Copy for SENS_QOCINFO {}
66 impl ::core::clone::Clone for SENS_QOCINFO {
67 fn clone(&self) -> Self {
68 *self
69 }
70 }