From 5192eac233d4ac1c972af724d01167d38c249410 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 29 Sep 2023 22:14:43 +0200 Subject: Windows Driver: Use KeQueryInterruptTimePrecise on Windows 8.1 and newer as better seed for internal RNG compared to KeQueryInterruptTime --- src/Common/Tcdefs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Common/Tcdefs.h') diff --git a/src/Common/Tcdefs.h b/src/Common/Tcdefs.h index 259a564b..3e2e860a 100644 --- a/src/Common/Tcdefs.h +++ b/src/Common/Tcdefs.h @@ -305,6 +305,10 @@ typedef NTSTATUS (NTAPI *ExGetFirmwareEnvironmentVariableFn) ( PULONG Attributes ); +typedef ULONG64 (NTAPI *KeQueryInterruptTimePreciseFn)( + PULONG64 QpcTimeStamp +); + typedef BOOLEAN (NTAPI *KeAreAllApcsDisabledFn) (); typedef void (NTAPI *KeSetSystemGroupAffinityThreadFn)( -- cgit v1.2.3