VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-06 18:01:18 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-08 23:42:39 +0100
commit7f1e21e6a1103fd4a488ddbe63571c6ffecb38ca (patch)
tree159ec87743c0c1a601de6d1105fb5db6ae026056 /src
parent5a564629597b94399648378f4520bc262e369cf9 (diff)
downloadVeraCrypt-7f1e21e6a1103fd4a488ddbe63571c6ffecb38ca.tar.gz
VeraCrypt-7f1e21e6a1103fd4a488ddbe63571c6ffecb38ca.zip
Windows: Add missing defines in Tcdefs.h
Diffstat (limited to 'src')
-rw-r--r--src/Common/Tcdefs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Common/Tcdefs.h b/src/Common/Tcdefs.h
index 4e8cfa49..79180c13 100644
--- a/src/Common/Tcdefs.h
+++ b/src/Common/Tcdefs.h
@@ -263,6 +263,10 @@ extern ULONG AllocTag;
typedef int BOOL;
#endif
+#ifndef BOOLEAN
+typedef unsigned char BOOLEAN;
+#endif
+
#ifndef TRUE
#define TRUE 1
#endif
@@ -289,6 +293,8 @@ typedef NTSTATUS (NTAPI *ExGetFirmwareEnvironmentVariableFn) (
PULONG Attributes
);
+typedef BOOLEAN (NTAPI *KeAreAllApcsDisabledFn) ();
+
extern NTSTATUS NTAPI KeSaveExtendedProcessorState (
__in ULONG64 Mask,
PXSTATE_SAVE XStateSave
@@ -299,6 +305,9 @@ extern VOID NTAPI KeRestoreExtendedProcessorState (
PXSTATE_SAVE XStateSave
);
+extern BOOLEAN VC_KeAreAllApcsDisabled (VOID);
+
+
#else /* !TC_WINDOWS_DRIVER */
#if !defined(_UEFI)
#define TCalloc malloc