windows::Win32::Security

Function CreatePrivateObjectSecurityEx

pub unsafe fn CreatePrivateObjectSecurityEx(
    parentdescriptor: Option<PSECURITY_DESCRIPTOR>,
    creatordescriptor: Option<PSECURITY_DESCRIPTOR>,
    newdescriptor: *mut PSECURITY_DESCRIPTOR,
    objecttype: Option<*const GUID>,
    iscontainerobject: bool,
    autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS,
    token: Option<HANDLE>,
    genericmapping: *const GENERIC_MAPPING,
) -> Result<()>