1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 03:18:26 -06:00

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)

This commit is contained in:
Mounir IDRASSI
2018-03-04 18:48:16 +01:00
parent 5065116e56
commit cd59d5364f
8 changed files with 341 additions and 43 deletions

View File

@@ -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;