From 1b6a04ca5504955c571d1c97504fb45ea0befee4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 8 Jan 2024 01:21:28 +0400 Subject: Initial vendor packages Signed-off-by: Valentin Popov --- .../Win32/Security/DirectoryServices/mod.rs | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs (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 new file mode 100644 index 0000000..12ddc32 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs @@ -0,0 +1,33 @@ +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] +::windows_targets::link!("dssec.dll" "system" #[doc = "Required features: `\"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_targets::link!("dssec.dll" "system" #[doc = "Required features: `\"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_targets::link!("dssec.dll" "system" #[doc = "Required features: `\"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_targets::link!("dssec.dll" "system" #[doc = "Required features: `\"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); +pub const DSSI_IS_ROOT: u32 = 16u32; +pub const DSSI_NO_ACCESS_CHECK: u32 = 2u32; +pub const DSSI_NO_EDIT_OWNER: u32 = 8u32; +pub const DSSI_NO_EDIT_SACL: u32 = 4u32; +pub const DSSI_NO_FILTER: u32 = 32u32; +pub const DSSI_NO_READONLY_MESSAGE: u32 = 64u32; +pub const DSSI_READ_ONLY: u32 = 1u32; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] +pub type PFNDSCREATEISECINFO = ::core::option::Option ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] +pub type PFNDSCREATEISECINFOEX = ::core::option::Option ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] +pub type PFNDSCREATESECPAGE = ::core::option::Option ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNDSEDITSECURITY = ::core::option::Option ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNREADOBJECTSECURITY = ::core::option::Option ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNWRITEOBJECTSECURITY = ::core::option::Option ::windows_sys::core::HRESULT>; -- cgit v1.2.3