| 1 |
#[cfg(feature = "Win32_Foundation")] |
| 2 |
::windows_targets::link!("sensapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsDestinationReachableA(lpszdestination : ::windows_sys::core::PCSTR, lpqocinfo : *mut QOCINFO) -> super::super::Foundation:: BOOL); |
| 3 |
#[cfg(feature = "Win32_Foundation")] |
| 4 |
::windows_targets::link!("sensapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsDestinationReachableW(lpszdestination : ::windows_sys::core::PCWSTR, lpqocinfo : *mut QOCINFO) -> super::super::Foundation:: BOOL); |
| 5 |
#[cfg(feature = "Win32_Foundation")] |
| 6 |
::windows_targets::link!("sensapi.dll" "system" #[doc = "Required features: `\"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 |
pub const CONNECTION_AOL: u32 = 4u32; |
| 12 |
pub const CONNECTION_LAN: SENS_CONNECTION_TYPE = 0u32; |
| 13 |
pub const CONNECTION_WAN: SENS_CONNECTION_TYPE = 1u32; |
| 14 |
pub const NETWORK_ALIVE_AOL: u32 = 4u32; |
| 15 |
pub const NETWORK_ALIVE_INTERNET: u32 = 8u32; |
| 16 |
pub const NETWORK_ALIVE_LAN: u32 = 1u32; |
| 17 |
pub const NETWORK_ALIVE_WAN: u32 = 2u32; |
| 18 |
pub const SENS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd597cafe_5b9f_11d1_8dd2_00aa004abd5e); |
| 19 |
pub const SENSGUID_EVENTCLASS_LOGON: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978630_5b9f_11d1_8dd2_00aa004abd5e); |
| 20 |
pub const SENSGUID_EVENTCLASS_LOGON2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978650_5b9f_11d1_8dd2_00aa004abd5e); |
| 21 |
pub const SENSGUID_EVENTCLASS_NETWORK: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978620_5b9f_11d1_8dd2_00aa004abd5e); |
| 22 |
pub const SENSGUID_EVENTCLASS_ONNOW: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5978640_5b9f_11d1_8dd2_00aa004abd5e); |
| 23 |
pub const SENSGUID_PUBLISHER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5fee1bd6_5b9b_11d1_8dd2_00aa004abd5e); |
| 24 |
pub const SENSGUID_SUBSCRIBER_LCE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd3938ab0_5b9d_11d1_8dd2_00aa004abd5e); |
| 25 |
pub const SENSGUID_SUBSCRIBER_WININET: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd3938ab5_5b9d_11d1_8dd2_00aa004abd5e); |
| 26 |
pub type SENS_CONNECTION_TYPE = u32; |
| 27 |
#[repr(C)] |
| 28 |
pub struct QOCINFO { |
| 29 |
pub dwSize: u32, |
| 30 |
pub dwFlags: u32, |
| 31 |
pub dwInSpeed: u32, |
| 32 |
pub dwOutSpeed: u32, |
| 33 |
} |
| 34 |
impl ::core::marker::Copy for QOCINFO {} |
| 35 |
impl ::core::clone::Clone for QOCINFO { |
| 36 |
fn clone(&self) -> Self { |
| 37 |
*self |
| 38 |
} |
| 39 |
} |
| 40 |
#[repr(C)] |
| 41 |
pub struct SENS_QOCINFO { |
| 42 |
pub dwSize: u32, |
| 43 |
pub dwFlags: u32, |
| 44 |
pub dwOutSpeed: u32, |
| 45 |
pub dwInSpeed: u32, |
| 46 |
} |
| 47 |
impl ::core::marker::Copy for SENS_QOCINFO {} |
| 48 |
impl ::core::clone::Clone for SENS_QOCINFO { |
| 49 |
fn clone(&self) -> Self { |
| 50 |
*self |
| 51 |
} |
| 52 |
} |