From 9aabe7526250045fdc914379de74488d92c123c2 Mon Sep 17 00:00:00 2001 From: FourteenBrush <74827262+FourteenBrush@users.noreply.github.com> Date: Fri, 5 Sep 2025 00:34:44 +0200 Subject: [PATCH] Add `ERROR_NOT_FOUND` Returned by `CancelIoEx` when cancelled number or io completions was 0. Was for some reason defined in `core:os`, but not in win32 pkg. Ref: https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--1000-1299- --- core/sys/windows/winerror.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/core/sys/windows/winerror.odin b/core/sys/windows/winerror.odin index 05ab3d028..fee04fdc4 100644 --- a/core/sys/windows/winerror.odin +++ b/core/sys/windows/winerror.odin @@ -225,6 +225,7 @@ ERROR_ENVVAR_NOT_FOUND : DWORD : 203 ERROR_OPERATION_ABORTED : DWORD : 995 ERROR_IO_PENDING : DWORD : 997 ERROR_NO_UNICODE_TRANSLATION : DWORD : 1113 +ERROR_NOT_FOUND : DWORD : 1168 ERROR_TIMEOUT : DWORD : 1460 ERROR_DATATYPE_MISMATCH : DWORD : 1629 ERROR_UNSUPPORTED_TYPE : DWORD : 1630