From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../Win32/System/EventNotificationService/mod.rs | 42 +++++++++++----------- 1 file changed, 22 insertions(+), 20 deletions(-) (limited to 'vendor/windows-sys/src/Windows/Win32/System/EventNotificationService') 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 e2635ebb1..7aacef5f1 100644 --- a/vendor/windows-sys/src/Windows/Win32/System/EventNotificationService/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/System/EventNotificationService/mod.rs @@ -1,15 +1,9 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsDestinationReachableA(lpszdestination: ::windows_sys::core::PCSTR, lpqocinfo: *mut QOCINFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsDestinationReachableW(lpszdestination: ::windows_sys::core::PCWSTR, lpqocinfo: *mut QOCINFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsNetworkAlive(lpdwflags: *mut u32) -> super::super::Foundation::BOOL; -} +#[cfg(feature = "Win32_Foundation")] +::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 ); +#[cfg(feature = "Win32_Foundation")] +::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 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "sensapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] fn IsNetworkAlive ( lpdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); pub type ISensLogon = *mut ::core::ffi::c_void; pub type ISensLogon2 = *mut ::core::ffi::c_void; pub type ISensNetwork = *mut ::core::ffi::c_void; @@ -24,14 +18,22 @@ 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; -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] }; -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] }; -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] }; -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] }; -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] }; -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] }; +#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"] +pub const SENS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd597cafe_5b9f_11d1_8dd2_00aa004abd5e); +#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"] +pub const SENSGUID_EVENTCLASS_LOGON: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978630_5b9f_11d1_8dd2_00aa004abd5e); +#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"] +pub const SENSGUID_EVENTCLASS_LOGON2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978650_5b9f_11d1_8dd2_00aa004abd5e); +#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"] +pub const SENSGUID_EVENTCLASS_NETWORK: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978620_5b9f_11d1_8dd2_00aa004abd5e); +#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"] +pub const SENSGUID_EVENTCLASS_ONNOW: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978640_5b9f_11d1_8dd2_00aa004abd5e); +#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"] +pub const SENSGUID_PUBLISHER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5fee1bd6_5b9b_11d1_8dd2_00aa004abd5e); +#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"] +pub const SENSGUID_SUBSCRIBER_LCE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd3938ab0_5b9d_11d1_8dd2_00aa004abd5e); +#[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"] +pub const SENSGUID_SUBSCRIBER_WININET: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd3938ab5_5b9d_11d1_8dd2_00aa004abd5e); #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"] pub type SENS_CONNECTION_TYPE = u32; #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`*"] -- cgit v1.2.3