summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/System/EventNotificationService
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:21 +0000
commit4e8199b572f2035b7749cba276ece3a26630d23e (patch)
treef09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Win32/System/EventNotificationService
parentAdding upstream version 1.66.0+dfsg1. (diff)
downloadrustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz
rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/EventNotificationService')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/System/EventNotificationService/mod.rs34
1 files changed, 17 insertions, 17 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/EventNotificationService/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/EventNotificationService/mod.rs
index 4a09c89bb..e2635ebb1 100644
--- a/vendor/windows-sys/src/Windows/Win32/System/EventNotificationService/mod.rs
+++ b/vendor/windows-sys/src/Windows/Win32/System/EventNotificationService/mod.rs
@@ -1,4 +1,4 @@
-#[link(name = "windows")]
+#[cfg_attr(windows, link(name = "windows"))]
extern "system" {
#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
@@ -10,13 +10,13 @@ extern "system" {
#[cfg(feature = "Win32_Foundation")]
pub fn IsNetworkAlive(lpdwflags: *mut u32) -> super::super::Foundation::BOOL;
}
-#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
-pub const CONNECTION_AOL: u32 = 4u32;
pub type ISensLogon = *mut ::core::ffi::c_void;
pub type ISensLogon2 = *mut ::core::ffi::c_void;
pub type ISensNetwork = *mut ::core::ffi::c_void;
pub type ISensOnNow = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
+pub const CONNECTION_AOL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
pub const NETWORK_ALIVE_AOL: u32 = 4u32;
#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
pub const NETWORK_ALIVE_INTERNET: u32 = 8u32;
@@ -24,20 +24,6 @@ pub const NETWORK_ALIVE_INTERNET: u32 = 8u32;
pub const NETWORK_ALIVE_LAN: u32 = 1u32;
#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
pub const NETWORK_ALIVE_WAN: u32 = 2u32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
-pub struct QOCINFO {
- pub dwSize: u32,
- pub dwFlags: u32,
- pub dwInSpeed: u32,
- pub dwOutSpeed: u32,
-}
-impl ::core::marker::Copy for QOCINFO {}
-impl ::core::clone::Clone for QOCINFO {
- fn clone(&self) -> Self {
- *self
- }
-}
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] };
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] };
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] };
@@ -54,6 +40,20 @@ pub const CONNECTION_LAN: SENS_CONNECTION_TYPE = 0u32;
pub const CONNECTION_WAN: SENS_CONNECTION_TYPE = 1u32;
#[repr(C)]
#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
+pub struct QOCINFO {
+ pub dwSize: u32,
+ pub dwFlags: u32,
+ pub dwInSpeed: u32,
+ pub dwOutSpeed: u32,
+}
+impl ::core::marker::Copy for QOCINFO {}
+impl ::core::clone::Clone for QOCINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"]
pub struct SENS_QOCINFO {
pub dwSize: u32,
pub dwFlags: u32,