diff options
Diffstat (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/Security/Authorization/UI')
-rw-r--r-- | vendor/windows-sys-0.45.0/src/Windows/Win32/Security/Authorization/UI/mod.rs | 254 |
1 files changed, 254 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/Security/Authorization/UI/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/Security/Authorization/UI/mod.rs new file mode 100644 index 0000000..1892bd8 --- /dev/null +++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/Security/Authorization/UI/mod.rs @@ -0,0 +1,254 @@ +#[cfg(feature = "Win32_UI_Controls")] +::windows_sys::core::link ! ( "aclui.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_UI_Controls\"`*"] fn CreateSecurityPage ( psi : ISecurityInformation ) -> super::super::super::UI::Controls:: HPROPSHEETPAGE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "aclui.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] fn EditSecurity ( hwndowner : super::super::super::Foundation:: HWND , psi : ISecurityInformation ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "aclui.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] fn EditSecurityAdvanced ( hwndowner : super::super::super::Foundation:: HWND , psi : ISecurityInformation , usipage : SI_PAGE_TYPE ) -> :: windows_sys::core::HRESULT ); +pub type IEffectivePermission = *mut ::core::ffi::c_void; +pub type IEffectivePermission2 = *mut ::core::ffi::c_void; +pub type ISecurityInformation = *mut ::core::ffi::c_void; +pub type ISecurityInformation2 = *mut ::core::ffi::c_void; +pub type ISecurityInformation3 = *mut ::core::ffi::c_void; +pub type ISecurityInformation4 = *mut ::core::ffi::c_void; +pub type ISecurityObjectTypeInfo = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const CFSTR_ACLUI_SID_INFO_LIST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CFSTR_ACLUI_SID_INFO_LIST"); +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const DOBJ_COND_NTACLS: i32 = 8i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const DOBJ_RES_CONT: i32 = 1i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const DOBJ_RES_ROOT: i32 = 2i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const DOBJ_RIBBON_LAUNCH: i32 = 16i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const DOBJ_VOL_NTACLS: i32 = 4i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SECURITY_OBJECT_ID_CENTRAL_ACCESS_RULE: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SECURITY_OBJECT_ID_CENTRAL_POLICY: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SECURITY_OBJECT_ID_OBJECT_SD: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SECURITY_OBJECT_ID_SHARE: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_ACCESS_CONTAINER: i32 = 262144i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_ACCESS_GENERAL: i32 = 131072i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_ACCESS_PROPERTY: i32 = 524288i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_ACCESS_SPECIFIC: i32 = 65536i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_CONTAINER: i32 = 4i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_EDIT_OWNER: i32 = 1i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_EDIT_PERMS: i32 = 0i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_NO_ACL_PROTECT: i32 = 512i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_NO_TREE_APPLY: i32 = 1024i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_OBJECT_GUID: i32 = 65536i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_OWNER_READONLY: i32 = 64i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_OWNER_RECURSE: i32 = 256i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_PAGE_TITLE: i32 = 2048i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_READONLY: i32 = 8i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_RESET: i32 = 32i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_RESET_DACL_TREE: i32 = 16384i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_RESET_SACL_TREE: i32 = 32768i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_SERVER_IS_DC: i32 = 4096i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub type SECURITY_INFO_PAGE_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_ADVANCED: SECURITY_INFO_PAGE_FLAGS = 16u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_EDIT_AUDITS: SECURITY_INFO_PAGE_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_EDIT_PROPERTIES: SECURITY_INFO_PAGE_FLAGS = 128u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub type SI_OBJECT_INFO_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_AUDITS_ELEVATION_REQUIRED: SI_OBJECT_INFO_FLAGS = 33554432u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_DISABLE_DENY_ACE: SI_OBJECT_INFO_FLAGS = 2147483648u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_EDIT_EFFECTIVE: SI_OBJECT_INFO_FLAGS = 131072u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_ENABLE_CENTRAL_POLICY: SI_OBJECT_INFO_FLAGS = 1073741824u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_ENABLE_EDIT_ATTRIBUTE_CONDITION: SI_OBJECT_INFO_FLAGS = 536870912u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_MAY_WRITE: SI_OBJECT_INFO_FLAGS = 268435456u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_NO_ADDITIONAL_PERMISSION: SI_OBJECT_INFO_FLAGS = 2097152u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_OWNER_ELEVATION_REQUIRED: SI_OBJECT_INFO_FLAGS = 67108864u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_PERMS_ELEVATION_REQUIRED: SI_OBJECT_INFO_FLAGS = 16777216u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_RESET_DACL: SI_OBJECT_INFO_FLAGS = 262144u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_RESET_OWNER: SI_OBJECT_INFO_FLAGS = 1048576u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_RESET_SACL: SI_OBJECT_INFO_FLAGS = 524288u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_SCOPE_ELEVATION_REQUIRED: SI_OBJECT_INFO_FLAGS = 134217728u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_VIEW_ONLY: SI_OBJECT_INFO_FLAGS = 4194304u32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub type SI_PAGE_ACTIVATED = i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_SHOW_DEFAULT: SI_PAGE_ACTIVATED = 0i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_SHOW_PERM_ACTIVATED: SI_PAGE_ACTIVATED = 1i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_SHOW_AUDIT_ACTIVATED: SI_PAGE_ACTIVATED = 2i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_SHOW_OWNER_ACTIVATED: SI_PAGE_ACTIVATED = 3i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_SHOW_EFFECTIVE_ACTIVATED: SI_PAGE_ACTIVATED = 4i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_SHOW_SHARE_ACTIVATED: SI_PAGE_ACTIVATED = 5i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_SHOW_CENTRAL_POLICY_ACTIVATED: SI_PAGE_ACTIVATED = 6i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub type SI_PAGE_TYPE = i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_PAGE_PERM: SI_PAGE_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_PAGE_ADVPERM: SI_PAGE_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_PAGE_AUDIT: SI_PAGE_TYPE = 2i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_PAGE_OWNER: SI_PAGE_TYPE = 3i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_PAGE_EFFECTIVE: SI_PAGE_TYPE = 4i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_PAGE_TAKEOWNERSHIP: SI_PAGE_TYPE = 5i32; +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub const SI_PAGE_SHARE: SI_PAGE_TYPE = 6i32; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct EFFPERM_RESULT_LIST { + pub fEvaluated: super::super::super::Foundation::BOOLEAN, + pub cObjectTypeListLength: u32, + pub pObjectTypeList: *mut super::super::OBJECT_TYPE_LIST, + pub pGrantedAccessList: *mut u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for EFFPERM_RESULT_LIST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for EFFPERM_RESULT_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct SECURITY_OBJECT { + pub pwszName: ::windows_sys::core::PWSTR, + pub pData: *mut ::core::ffi::c_void, + pub cbData: u32, + pub pData2: *mut ::core::ffi::c_void, + pub cbData2: u32, + pub Id: u32, + pub fWellKnown: super::super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SECURITY_OBJECT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SECURITY_OBJECT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct SID_INFO { + pub pSid: super::super::super::Foundation::PSID, + pub pwzCommonName: ::windows_sys::core::PWSTR, + pub pwzClass: ::windows_sys::core::PWSTR, + pub pwzUPN: ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SID_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SID_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct SID_INFO_LIST { + pub cItems: u32, + pub aSidInfo: [SID_INFO; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SID_INFO_LIST {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SID_INFO_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub struct SI_ACCESS { + pub pguid: *const ::windows_sys::core::GUID, + pub mask: u32, + pub pszName: ::windows_sys::core::PCWSTR, + pub dwFlags: u32, +} +impl ::core::marker::Copy for SI_ACCESS {} +impl ::core::clone::Clone for SI_ACCESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] +pub struct SI_INHERIT_TYPE { + pub pguid: *const ::windows_sys::core::GUID, + pub dwFlags: super::super::ACE_FLAGS, + pub pszName: ::windows_sys::core::PCWSTR, +} +impl ::core::marker::Copy for SI_INHERIT_TYPE {} +impl ::core::clone::Clone for SI_INHERIT_TYPE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct SI_OBJECT_INFO { + pub dwFlags: SI_OBJECT_INFO_FLAGS, + pub hInstance: super::super::super::Foundation::HINSTANCE, + pub pszServerName: ::windows_sys::core::PWSTR, + pub pszObjectName: ::windows_sys::core::PWSTR, + pub pszPageTitle: ::windows_sys::core::PWSTR, + pub guidObjectType: ::windows_sys::core::GUID, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SI_OBJECT_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SI_OBJECT_INFO { + fn clone(&self) -> Self { + *self + } +} |