summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs45
1 files changed, 16 insertions, 29 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs
index 64b0b29c7..fa0810c17 100644
--- a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs
+++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs
@@ -1,31 +1,18 @@
-#[cfg_attr(windows, link(name = "windows"))]
-extern "system" {
- #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"]
- #[cfg(feature = "Win32_Foundation")]
- pub fn FreeInterfaceContextTable(interfacecontexttable: *const NET_INTERFACE_CONTEXT_TABLE);
- #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"]
- #[cfg(feature = "Win32_Foundation")]
- pub fn GetInterfaceContextTableForHostName(hostname: ::windows_sys::core::PCWSTR, proxyname: ::windows_sys::core::PCWSTR, flags: u32, connectionprofilefilterrawdata: *const u8, connectionprofilefilterrawdatasize: u32, interfacecontexttable: *mut *mut NET_INTERFACE_CONTEXT_TABLE) -> ::windows_sys::core::HRESULT;
- #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"]
- pub fn OnDemandGetRoutingHint(destinationhostname: ::windows_sys::core::PCWSTR, interfaceindex: *mut u32) -> ::windows_sys::core::HRESULT;
- #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"]
- #[cfg(feature = "Win32_Foundation")]
- pub fn OnDemandRegisterNotification(callback: ONDEMAND_NOTIFICATION_CALLBACK, callbackcontext: *const ::core::ffi::c_void, registrationhandle: *mut super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT;
- #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"]
- #[cfg(feature = "Win32_Foundation")]
- pub fn OnDemandUnRegisterNotification(registrationhandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT;
- #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"]
- pub fn WcmFreeMemory(pmemory: *mut ::core::ffi::c_void);
- #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"]
- pub fn WcmGetProfileList(preserved: *mut ::core::ffi::c_void, ppprofilelist: *mut *mut WCM_PROFILE_INFO_LIST) -> u32;
- #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"]
- pub fn WcmQueryProperty(pinterface: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, property: WCM_PROPERTY, preserved: *mut ::core::ffi::c_void, pdwdatasize: *mut u32, ppdata: *mut *mut u8) -> u32;
- #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"]
- #[cfg(feature = "Win32_Foundation")]
- pub fn WcmSetProfileList(pprofilelist: *const WCM_PROFILE_INFO_LIST, dwposition: u32, fignoreunknownprofiles: super::super::Foundation::BOOL, preserved: *mut ::core::ffi::c_void) -> u32;
- #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"]
- pub fn WcmSetProperty(pinterface: *const ::windows_sys::core::GUID, strprofilename: ::windows_sys::core::PCWSTR, property: WCM_PROPERTY, preserved: *mut ::core::ffi::c_void, dwdatasize: u32, pbdata: *const u8) -> u32;
-}
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "ondemandconnroutehelper.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] fn FreeInterfaceContextTable ( interfacecontexttable : *const NET_INTERFACE_CONTEXT_TABLE ) -> ( ) );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "ondemandconnroutehelper.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] fn GetInterfaceContextTableForHostName ( hostname : :: windows_sys::core::PCWSTR , proxyname : :: windows_sys::core::PCWSTR , flags : u32 , connectionprofilefilterrawdata : *const u8 , connectionprofilefilterrawdatasize : u32 , interfacecontexttable : *mut *mut NET_INTERFACE_CONTEXT_TABLE ) -> :: windows_sys::core::HRESULT );
+::windows_sys::core::link ! ( "ondemandconnroutehelper.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] fn OnDemandGetRoutingHint ( destinationhostname : :: windows_sys::core::PCWSTR , interfaceindex : *mut u32 ) -> :: windows_sys::core::HRESULT );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "ondemandconnroutehelper.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] fn OnDemandRegisterNotification ( callback : ONDEMAND_NOTIFICATION_CALLBACK , callbackcontext : *const ::core::ffi::c_void , registrationhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows_sys::core::HRESULT );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "ondemandconnroutehelper.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] fn OnDemandUnRegisterNotification ( registrationhandle : super::super::Foundation:: HANDLE ) -> :: windows_sys::core::HRESULT );
+::windows_sys::core::link ! ( "wcmapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] fn WcmFreeMemory ( pmemory : *mut ::core::ffi::c_void ) -> ( ) );
+::windows_sys::core::link ! ( "wcmapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] fn WcmGetProfileList ( preserved : *mut ::core::ffi::c_void , ppprofilelist : *mut *mut WCM_PROFILE_INFO_LIST ) -> u32 );
+::windows_sys::core::link ! ( "wcmapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] fn WcmQueryProperty ( pinterface : *const :: windows_sys::core::GUID , strprofilename : :: windows_sys::core::PCWSTR , property : WCM_PROPERTY , preserved : *mut ::core::ffi::c_void , pdwdatasize : *mut u32 , ppdata : *mut *mut u8 ) -> u32 );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "wcmapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] fn WcmSetProfileList ( pprofilelist : *const WCM_PROFILE_INFO_LIST , dwposition : u32 , fignoreunknownprofiles : super::super::Foundation:: BOOL , preserved : *mut ::core::ffi::c_void ) -> u32 );
+::windows_sys::core::link ! ( "wcmapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] fn WcmSetProperty ( pinterface : *const :: windows_sys::core::GUID , strprofilename : :: windows_sys::core::PCWSTR , property : WCM_PROPERTY , preserved : *mut ::core::ffi::c_void , dwdatasize : u32 , pbdata : *const u8 ) -> u32 );
#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"]
pub const NET_INTERFACE_FLAG_CONNECT_IF_NEEDED: u32 = 1u32;
#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"]
@@ -245,4 +232,4 @@ impl ::core::clone::Clone for WCM_USAGE_DATA {
}
}
#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"]
-pub type ONDEMAND_NOTIFICATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: *const ::core::ffi::c_void)>;
+pub type ONDEMAND_NOTIFICATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: *const ::core::ffi::c_void) -> ()>;