From 5ae4d8e6fde4b0b32ab45f62557d7354dc261172 Mon Sep 17 00:00:00 2001 From: MiroKaku <50670906+MiroKaku@users.noreply.github.com> Date: Thu, 18 Jul 2024 08:33:56 +0800 Subject: [PATCH] fix: build warning --- Veil/Veil.System.ObjectManager.h | 2 +- Veil/Veil.System.RuntimeLibrary.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Veil/Veil.System.ObjectManager.h b/Veil/Veil.System.ObjectManager.h index f8a30f5..95db914 100644 --- a/Veil/Veil.System.ObjectManager.h +++ b/Veil/Veil.System.ObjectManager.h @@ -363,7 +363,7 @@ NTAPI NtQuerySecurityObject( _In_ HANDLE Handle, _In_ SECURITY_INFORMATION SecurityInformation, - _Out_writes_bytes_to_(Length, *LengthNeeded) PSECURITY_DESCRIPTOR SecurityDescriptor, + _Out_writes_bytes_opt_(Length) PSECURITY_DESCRIPTOR SecurityDescriptor, _In_ ULONG Length, _Out_ PULONG LengthNeeded ); diff --git a/Veil/Veil.System.RuntimeLibrary.h b/Veil/Veil.System.RuntimeLibrary.h index ea97b92..cc0d8b6 100644 --- a/Veil/Veil.System.RuntimeLibrary.h +++ b/Veil/Veil.System.RuntimeLibrary.h @@ -10285,6 +10285,7 @@ RtlGetAce( ); #if (NTDDI_VERSION >= NTDDI_WIN11_GE) +_IRQL_requires_max_(APC_LEVEL) NTSYSAPI NTSTATUS NTAPI