windows::Win32::Security

Function SetPrivateObjectSecurityEx

pub unsafe fn SetPrivateObjectSecurityEx(
    securityinformation: OBJECT_SECURITY_INFORMATION,
    modificationdescriptor: PSECURITY_DESCRIPTOR,
    objectssecuritydescriptor: *mut PSECURITY_DESCRIPTOR,
    autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS,
    genericmapping: *const GENERIC_MAPPING,
    token: Option<HANDLE>,
) -> Result<()>