From b8ac8e01a8e5e456a7dd6538bba17d15f06789fe Mon Sep 17 00:00:00 2001 From: Ratin Gao Date: Mon, 7 Oct 2024 01:24:11 +0800 Subject: [PATCH] Add SAL to `RtlNtStatusToDosError` like `RtlNtStatusToDosErrorNoTeb` --- phnt/include/ntrtl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phnt/include/ntrtl.h b/phnt/include/ntrtl.h index 7ee7d6e5149d..c779fffe71ee 100644 --- a/phnt/include/ntrtl.h +++ b/phnt/include/ntrtl.h @@ -6053,6 +6053,8 @@ RtlLoadString( // Errors +_When_(Status < 0, _Out_range_(>, 0)) +_When_(Status >= 0, _Out_range_(==, 0)) NTSYSAPI ULONG NTAPI