Module windows_permissions::wrappers [−][src]
Direct wrappers over WinAPI calls
Generally, it’s better to use the other methods in this crate. However, it can sometimes be useful to drop straight down into the raw WinAPI calls. These functions wrap the unsafe calls in safe objects, and are used to implement the other functionality in this crate.
Functions
AddAce | Wraps |
AllocateAndInitializeSid | Wraps AllocateAndInitializeSid |
BuildTrusteeWithName | Wraps BuildTrusteeWithNameW |
BuildTrusteeWithNameOsStr | Copies the |
BuildTrusteeWithSid | Wraps BuildTrusteeWithSidW |
ConvertSecurityDescriptorToStringSecurityDescriptor | Wraps ConvertSecurityDescriptorToStringSecurityDescriptorW |
ConvertSidToStringSid | Wraps ConvertSidtoStringSidW |
ConvertStringSecurityDescriptorToSecurityDescriptor | Wraps ConvertStringSecurityDescriptorToSecurityDescriptorW |
ConvertStringSidToSid | Wraps ConvertStringSidToSidW |
CopySid | Wraps CopySid |
CreateWellKnownSid | Wraps CreateWellKnownSid |
DeleteAce | Wraps DeleteAce |
EqualSid | Wraps EqualSid |
GetAce | Wraps GetAce |
GetAclInformationSize | Wraps GetAclInformation using ACL_SIZE_INFORMATION as the information class |
GetEffectiveRightsFromAcl | Wraps GetEffectiveRightsFromAclW |
GetNamedSecurityInfo | Wraps GetNamedSecurityInfoW |
GetSecurityDescriptorDacl | Wraps GetSecurityDescriptorDacl |
GetSecurityDescriptorGroup | Wraps GetSecurityDescriptorGroup |
GetSecurityDescriptorOwner | Wraps GetSecurityDescriptorOwner |
GetSecurityDescriptorSacl | Wraps GetSecurityDescriptorDacl |
GetSecurityInfo | Wraps |
GetSidIdentifierAuthority | Wraps GetSidIdentifierAuthority |
GetSidLengthRequired | Wraps GetSidLengthRequired |
GetSidSubAuthority⚠ | Wraps GetSidSubAuthority |
GetSidSubAuthorityChecked | Checks to ensure that the input SID has enough sub-authorities to defend against undefined behavior. |
GetSidSubAuthorityCount | Wraps GetSidSubAuthorityCount |
GetTrusteeForm | Wraps GetTrusteeFormW |
GetWindowsAccountDomainSid | Wraps |
IsValidAcl | Wraps IsValidAcl |
IsValidSecurityDescriptor | Wraps IsValidSecurityDescriptor |
IsValidSid | Wraps IsValidSid |
LookupAccountSid | Wraps LookupAccountSidW |
SetNamedSecurityInfo | Wraps SetNamedSecurityInfoW |
SetSecurityInfo | Wraps |