diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-03-04 18:48:16 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-03-04 18:50:23 +0100 |
commit | cd59d5364f5b32ac136e4a91b8534f2410059cde (patch) | |
tree | 12bcb56e15befd8adad7f342f32fff378297e946 /src/Driver/Ntdriver.h | |
parent | 5065116e568defd254ea83909d3b6e6c9b0947ed (diff) | |
download | VeraCrypt-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.h | 3 |
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; |