diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
commit | 64d98f8ee037282c35007b64c2649055c56af1db (patch) | |
tree | 5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs | |
parent | Adding debian version 1.67.1+dfsg1-1. (diff) | |
download | rustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs | 63 |
1 files changed, 22 insertions, 41 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs index a88de2e12..d4f169497 100644 --- a/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -1,44 +1,25 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] - pub fn NdfCancelIncident(handle: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] - pub fn NdfCloseIncident(handle: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] - pub fn NdfCreateConnectivityIncident(handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] - pub fn NdfCreateDNSIncident(hostname: ::windows_sys::core::PCWSTR, querytype: u16, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] - pub fn NdfCreateGroupingIncident(cloudname: ::windows_sys::core::PCWSTR, groupname: ::windows_sys::core::PCWSTR, identity: ::windows_sys::core::PCWSTR, invitation: ::windows_sys::core::PCWSTR, addresses: *const super::super::Networking::WinSock::SOCKET_ADDRESS_LIST, appid: ::windows_sys::core::PCWSTR, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NdfCreateIncident(helperclassname: ::windows_sys::core::PCWSTR, celt: u32, attributes: *const HELPER_ATTRIBUTE, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] - pub fn NdfCreateNetConnectionIncident(handle: *mut *mut ::core::ffi::c_void, id: ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NdfCreatePnrpIncident(cloudname: ::windows_sys::core::PCWSTR, peername: ::windows_sys::core::PCWSTR, diagnosepublish: super::super::Foundation::BOOL, appid: ::windows_sys::core::PCWSTR, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] - pub fn NdfCreateSharingIncident(uncpath: ::windows_sys::core::PCWSTR, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] - pub fn NdfCreateWebIncident(url: ::windows_sys::core::PCWSTR, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NdfCreateWebIncidentEx(url: ::windows_sys::core::PCWSTR, usewinhttp: super::super::Foundation::BOOL, modulename: ::windows_sys::core::PCWSTR, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security\"`*"] - #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security"))] - pub fn NdfCreateWinSockIncident(sock: super::super::Networking::WinSock::SOCKET, host: ::windows_sys::core::PCWSTR, port: u16, appid: ::windows_sys::core::PCWSTR, userid: *const super::super::Security::SID, handle: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] - pub fn NdfDiagnoseIncident(handle: *const ::core::ffi::c_void, rootcausecount: *mut u32, rootcauses: *mut *mut RootCauseInfo, dwwait: u32, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NdfExecuteDiagnosis(handle: *const ::core::ffi::c_void, hwnd: super::super::Foundation::HWND) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] - pub fn NdfGetTraceFile(handle: *const ::core::ffi::c_void, tracefilelocation: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] - pub fn NdfRepairIncident(handle: *const ::core::ffi::c_void, repairex: *const RepairInfoEx, dwwait: u32) -> ::windows_sys::core::HRESULT; -} +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] fn NdfCancelIncident ( handle : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] fn NdfCloseIncident ( handle : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] fn NdfCreateConnectivityIncident ( handle : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] fn NdfCreateDNSIncident ( hostname : :: windows_sys::core::PCWSTR , querytype : u16 , handle : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] fn NdfCreateGroupingIncident ( cloudname : :: windows_sys::core::PCWSTR , groupname : :: windows_sys::core::PCWSTR , identity : :: windows_sys::core::PCWSTR , invitation : :: windows_sys::core::PCWSTR , addresses : *const super::super::Networking::WinSock:: SOCKET_ADDRESS_LIST , appid : :: windows_sys::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] fn NdfCreateIncident ( helperclassname : :: windows_sys::core::PCWSTR , celt : u32 , attributes : *const HELPER_ATTRIBUTE , handle : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] fn NdfCreateNetConnectionIncident ( handle : *mut *mut ::core::ffi::c_void , id : :: windows_sys::core::GUID ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] fn NdfCreatePnrpIncident ( cloudname : :: windows_sys::core::PCWSTR , peername : :: windows_sys::core::PCWSTR , diagnosepublish : super::super::Foundation:: BOOL , appid : :: windows_sys::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] fn NdfCreateSharingIncident ( uncpath : :: windows_sys::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] fn NdfCreateWebIncident ( url : :: windows_sys::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] fn NdfCreateWebIncidentEx ( url : :: windows_sys::core::PCWSTR , usewinhttp : super::super::Foundation:: BOOL , modulename : :: windows_sys::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security"))] +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security\"`*"] fn NdfCreateWinSockIncident ( sock : super::super::Networking::WinSock:: SOCKET , host : :: windows_sys::core::PCWSTR , port : u16 , appid : :: windows_sys::core::PCWSTR , userid : *const super::super::Security:: SID , handle : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] fn NdfDiagnoseIncident ( handle : *const ::core::ffi::c_void , rootcausecount : *mut u32 , rootcauses : *mut *mut RootCauseInfo , dwwait : u32 , dwflags : u32 ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] fn NdfExecuteDiagnosis ( handle : *const ::core::ffi::c_void , hwnd : super::super::Foundation:: HWND ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] fn NdfGetTraceFile ( handle : *const ::core::ffi::c_void , tracefilelocation : *mut :: windows_sys::core::PWSTR ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ndfapi.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] fn NdfRepairIncident ( handle : *const ::core::ffi::c_void , repairex : *const RepairInfoEx , dwwait : u32 ) -> :: windows_sys::core::HRESULT ); pub type INetDiagExtensibleHelper = *mut ::core::ffi::c_void; pub type INetDiagHelper = *mut ::core::ffi::c_void; pub type INetDiagHelperEx = *mut ::core::ffi::c_void; |