From 81f0adcc35fb5a8e0d01f361f9bea4716db452ff Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 25 Dec 2024 16:18:19 +0100 Subject: Windows Driver: set Windows 10 version 1809 as minimum. To support this, we had to replace ExAllocatePool2 by ExAllocatePoolUninitialized. --- src/Common/Tcdefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common') diff --git a/src/Common/Tcdefs.h b/src/Common/Tcdefs.h index 0051dba2..48fc12b6 100644 --- a/src/Common/Tcdefs.h +++ b/src/Common/Tcdefs.h @@ -261,7 +261,7 @@ void ThrowFatalException(int line); extern ULONG AllocTag; -#define TCalloc(size) ((void *) ExAllocatePool2( POOL_FLAG_NON_PAGED, size, AllocTag )) +#define TCalloc(size) ((void *) ExAllocatePoolUninitialized( NonPagedPoolNx , size, AllocTag )) #define TCfree(memblock) ExFreePoolWithTag( memblock, AllocTag ) #define DEVICE_DRIVER -- cgit v1.2.3