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/System/SecurityCenter/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/System/SecurityCenter/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/System/SecurityCenter/mod.rs | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/SecurityCenter/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/SecurityCenter/mod.rs index 189f880fe..8c3422cdd 100644 --- a/vendor/windows-sys/src/Windows/Win32/System/SecurityCenter/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/System/SecurityCenter/mod.rs @@ -1,27 +1,20 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] - pub fn WscGetAntiMalwareUri(ppszuri: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] - pub fn WscGetSecurityProviderHealth(providers: u32, phealth: *mut WSC_SECURITY_PROVIDER_HEALTH) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] - pub fn WscQueryAntiMalwareUri() -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] - pub fn WscRegisterForChanges(reserved: *mut ::core::ffi::c_void, phcallbackregistration: *mut super::super::Foundation::HANDLE, lpcallbackaddress: super::Threading::LPTHREAD_START_ROUTINE, pcontext: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] - pub fn WscRegisterForUserNotifications() -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn WscUnRegisterChanges(hregistrationhandle: super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; -} +::windows_sys::core::link ! ( "wscapi.dll""system" #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] fn WscGetAntiMalwareUri ( ppszuri : *mut :: windows_sys::core::PWSTR ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "wscapi.dll""system" #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] fn WscGetSecurityProviderHealth ( providers : u32 , phealth : *mut WSC_SECURITY_PROVIDER_HEALTH ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "wscapi.dll""system" #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] fn WscQueryAntiMalwareUri ( ) -> :: windows_sys::core::HRESULT ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] +::windows_sys::core::link ! ( "wscapi.dll""system" #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] fn WscRegisterForChanges ( reserved : *mut ::core::ffi::c_void , phcallbackregistration : *mut super::super::Foundation:: HANDLE , lpcallbackaddress : super::Threading:: LPTHREAD_START_ROUTINE , pcontext : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "wscapi.dll""system" #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] fn WscRegisterForUserNotifications ( ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wscapi.dll""system" #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`*"] fn WscUnRegisterChanges ( hregistrationhandle : super::super::Foundation:: HANDLE ) -> :: windows_sys::core::HRESULT ); pub type IWSCDefaultProduct = *mut ::core::ffi::c_void; pub type IWSCProductList = *mut ::core::ffi::c_void; pub type IWscProduct = *mut ::core::ffi::c_void; pub type IWscProduct2 = *mut ::core::ffi::c_void; pub type IWscProduct3 = *mut ::core::ffi::c_void; -pub const WSCDefaultProduct: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 696361838, data2: 61997, data3: 4581, data4: [156, 233, 94, 85, 23, 80, 124, 102] }; -pub const WSCProductList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 386346875, data2: 39614, data3: 19060, data4: [162, 97, 30, 183, 107, 85, 16, 122] }; +#[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] +pub const WSCDefaultProduct: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2981a36e_f22d_11e5_9ce9_5e5517507c66); +#[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] +pub const WSCProductList: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x17072f7b_9abe_4a74_a261_1eb76b55107a); #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] pub type SECURITY_PRODUCT_TYPE = i32; #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] |