windows::Win32::System::Services

Function SetServiceObjectSecurity

pub unsafe fn SetServiceObjectSecurity(
    hservice: SC_HANDLE,
    dwsecurityinformation: OBJECT_SECURITY_INFORMATION,
    lpsecuritydescriptor: PSECURITY_DESCRIPTOR,
) -> Result<()>