From 89330b3ca1cf4992708b1df3344b02b42103dd28 Mon Sep 17 00:00:00 2001 From: Steve Fan <29133953+stevefan1999-personal@users.noreply.github.com> Date: Wed, 16 Oct 2024 17:19:06 +0800 Subject: [PATCH] return STATUS_NOT_FOUND instead on cancel request with overlapped io --- src/Thunks/ntdll.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Thunks/ntdll.hpp b/src/Thunks/ntdll.hpp index fb1711e..e13edaf 100644 --- a/src/Thunks/ntdll.hpp +++ b/src/Thunks/ntdll.hpp @@ -24,7 +24,7 @@ namespace YY::Thunks if (io != nullptr) { // Not supported - return STATUS_NOT_SUPPORTED; + return STATUS_NOT_FOUND; } internal::StringBuffer _Buffer;