mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-10 16:16:16 +00:00
object syscalls: implement NtCompareObjects
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user