[Kernel] Fixed issue with incorrect return code for APC

This commit is contained in:
Gliniak 2024-08-28 22:56:28 +02:00
parent c430a1748a
commit 2044013b50
1 changed files with 1 additions and 1 deletions

View File

@ -961,7 +961,7 @@ uint32_t NtWaitForSingleObjectEx(uint32_t object_handle, uint32_t wait_mode,
object->Wait(3, wait_mode, alertable, timeout_ptr ? &timeout : nullptr);
if (alertable) {
if (result == X_STATUS_USER_APC) {
result = xeProcessUserApcs(nullptr);
xeProcessUserApcs(nullptr);
}
}
} else {