Fix NtDeleteAtom signature

This commit is contained in:
Igor Pissolati
2025-04-19 15:18:26 -03:00
parent 6b1df674ab
commit 09b25d8c89

View File

@@ -537,9 +537,9 @@ namespace syscalls
return handle_NtAddAtomEx(c, atom_name, length, atom, 0);
}
NTSTATUS handle_NtDeleteAtom(const syscall_context& c, const emulator_object<RTL_ATOM> atom)
NTSTATUS handle_NtDeleteAtom(const syscall_context& c, const RTL_ATOM atom)
{
c.proc.delete_atom(atom.read());
c.proc.delete_atom(atom);
return STATUS_SUCCESS;
}