feat(bootstrap): set scan/settings/protupdate substatuses to no_action

This commit is contained in:
es3n1n
2025-05-30 19:13:37 +02:00
parent 0848e966db
commit 5826feabde
2 changed files with 10 additions and 5 deletions

View File

@@ -35,6 +35,11 @@ namespace defendnot {
/// Register and activate our AV
logln("register: {:#x}", com_checked(inst->Register(name, name, 0, 0)));
logln("update: {:#x}", com_checked(inst->UpdateStatus(WSCSecurityProductState::ON, 3)));
logln("update: {:#x}", com_checked(inst->UpdateStatus(WSCSecurityProductState::ON, WSCSecurityProductState::ON)));
logln("scan_update: {:#x}", com_checked(inst->UpdateScanSubstatus(WSCSecurityProductSubStatus::NO_ACTION)));
logln("settings_update: {:#x}", com_checked(inst->UpdateSettingsSubstatus(WSCSecurityProductSubStatus::NO_ACTION)));
/// \fixme @es3n1n: this seems to be giving no effect whatsoever.
logln("prot_update: {:#x}", com_checked(inst->UpdateProtectionUpdateSubstatus(WSCSecurityProductSubStatus::NO_ACTION)));
}
} // namespace defendnot