diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-03-05 19:29:08 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-03-05 19:35:07 +0100 |
commit | d907627f7e4844547545b9ff189208cec9eee426 (patch) | |
tree | ce75898e20230bc735db1380b0e14e1e7b7f9791 /src/Common | |
parent | bac2ad29b66527a6dcc96c06e4c2407f4622414c (diff) | |
download | VeraCrypt-d907627f7e4844547545b9ff189208cec9eee426.tar.gz VeraCrypt-d907627f7e4844547545b9ff189208cec9eee426.zip |
Windows: Add option to block TRIM command on system encryption SSD drives.
Diffstat (limited to 'src/Common')
-rw-r--r-- | src/Common/Apidrvr.h | 1 | ||||
-rw-r--r-- | src/Common/Language.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/Apidrvr.h b/src/Common/Apidrvr.h index fda2d946..1230fc43 100644 --- a/src/Common/Apidrvr.h +++ b/src/Common/Apidrvr.h @@ -411,5 +411,6 @@ typedef struct #define TC_DRIVER_CONFIG_DISABLE_EVIL_MAID_ATTACK_DETECTION 0x20 #define TC_DRIVER_CONFIG_CACHE_BOOT_PIM 0x40 #define VC_DRIVER_CONFIG_ALLOW_NONSYS_TRIM 0x80 +#define VC_DRIVER_CONFIG_BLOCK_SYS_TRIM 0x100 #endif /* _WIN32 */ diff --git a/src/Common/Language.xml b/src/Common/Language.xml index 38457c49..cf7cfa82 100644 --- a/src/Common/Language.xml +++ b/src/Common/Language.xml @@ -1424,6 +1424,7 @@ <control lang="en" key="IDT_ADVANCED_OPTIONS">Advanced Options</control> <string lang="en" key="AFTER_UPGRADE_RESCUE_DISK">It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now?</string> <control lang="en" key="IDC_ALLOW_TRIM_NONSYS_SSD">Allow TRIM operation for non-system SSD partition/drive</control> + <control lang="en" key="IDC_BLOCK_SYSENC_TRIM">Block TRIM command on system partition/drive</control> </localization> <!-- XML Schema --> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> |