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