VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/Ntdriver.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-03-04 18:48:16 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-03-04 18:50:23 +0100
commitcd59d5364f5b32ac136e4a91b8534f2410059cde (patch)
tree12bcb56e15befd8adad7f342f32fff378297e946 /src/Driver/Ntdriver.h
parent5065116e568defd254ea83909d3b6e6c9b0947ed (diff)
downloadVeraCrypt-cd59d5364f5b32ac136e4a91b8534f2410059cde.tar.gz
VeraCrypt-cd59d5364f5b32ac136e4a91b8534f2410059cde.zip
Windows: Implement TRIM support for non-system SSD partitions/drives and add driver option to enable it (TRIM is disabled by default for non-system SSD partitions/drives)
Diffstat (limited to 'src/Driver/Ntdriver.h')
-rw-r--r--src/Driver/Ntdriver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Driver/Ntdriver.h b/src/Driver/Ntdriver.h
index fd4d3559..50a98d03 100644
--- a/src/Driver/Ntdriver.h
+++ b/src/Driver/Ntdriver.h
@@ -67,6 +67,9 @@ typedef struct EXTENSION
ULONG HostMaximumPhysicalPages;
ULONG HostAlignmentMask;
+ BOOL IncursSeekPenalty;
+ BOOL TrimEnabled;
+
KEVENT keVolumeEvent; /* Event structure used when setting up a device */
EncryptedIoQueue Queue;