object syscalls: implement NtCompareObjects

This commit is contained in:
redthing1
2026-01-05 18:41:45 -08:00
parent 6f8dca6614
commit a2a119aec2

View File

@@ -267,6 +267,11 @@ namespace syscalls
|| h.value.type == handle_types::event; || h.value.type == handle_types::event;
} }
NTSTATUS handle_NtCompareObjects(const syscall_context&, const handle first, const handle second)
{
return (first == second) ? STATUS_SUCCESS : STATUS_NOT_SAME_OBJECT;
}
NTSTATUS handle_NtWaitForMultipleObjects(const syscall_context& c, const ULONG count, const emulator_object<handle> handles, NTSTATUS handle_NtWaitForMultipleObjects(const syscall_context& c, const ULONG count, const emulator_object<handle> handles,
const WAIT_TYPE wait_type, const BOOLEAN alertable, const WAIT_TYPE wait_type, const BOOLEAN alertable,
const emulator_object<LARGE_INTEGER> timeout) const emulator_object<LARGE_INTEGER> timeout)