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/Security/DirectoryServices/mod.rs | 23 ++++++++-------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs') diff --git a/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs index a9e227d79..dfd7e1159 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs @@ -1,18 +1,11 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] - pub fn DSCreateISecurityInfoObject(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, ppsi: *mut super::Authorization::UI::ISecurityInformation, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] - pub fn DSCreateISecurityInfoObjectEx(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, pwszserver: ::windows_sys::core::PCWSTR, pwszusername: ::windows_sys::core::PCWSTR, pwszpassword: ::windows_sys::core::PCWSTR, dwflags: u32, ppsi: *mut super::Authorization::UI::ISecurityInformation, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] - pub fn DSCreateSecurityPage(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, phpage: *mut super::super::UI::Controls::HPROPSHEETPAGE, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DSEditSecurity(hwndowner: super::super::Foundation::HWND, pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, pwszcaption: ::windows_sys::core::PCWSTR, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; -} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] +::windows_sys::core::link ! ( "dssec.dll""system" #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"] fn DSCreateISecurityInfoObject ( pwszobjectpath : :: windows_sys::core::PCWSTR , pwszobjectclass : :: windows_sys::core::PCWSTR , dwflags : u32 , ppsi : *mut super::Authorization::UI:: ISecurityInformation , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows_sys::core::HRESULT ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] +::windows_sys::core::link ! ( "dssec.dll""system" #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"] fn DSCreateISecurityInfoObjectEx ( pwszobjectpath : :: windows_sys::core::PCWSTR , pwszobjectclass : :: windows_sys::core::PCWSTR , pwszserver : :: windows_sys::core::PCWSTR , pwszusername : :: windows_sys::core::PCWSTR , pwszpassword : :: windows_sys::core::PCWSTR , dwflags : u32 , ppsi : *mut super::Authorization::UI:: ISecurityInformation , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows_sys::core::HRESULT ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] +::windows_sys::core::link ! ( "dssec.dll""system" #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] fn DSCreateSecurityPage ( pwszobjectpath : :: windows_sys::core::PCWSTR , pwszobjectclass : :: windows_sys::core::PCWSTR , dwflags : u32 , phpage : *mut super::super::UI::Controls:: HPROPSHEETPAGE , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "dssec.dll""system" #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`*"] fn DSEditSecurity ( hwndowner : super::super::Foundation:: HWND , pwszobjectpath : :: windows_sys::core::PCWSTR , pwszobjectclass : :: windows_sys::core::PCWSTR , dwflags : u32 , pwszcaption : :: windows_sys::core::PCWSTR , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows_sys::core::HRESULT ); #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"] pub const DSSI_IS_ROOT: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"] -- cgit v1.2.3