From d907627f7e4844547545b9ff189208cec9eee426 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 5 Mar 2018 19:29:08 +0100 Subject: Windows: Add option to block TRIM command on system encryption SSD drives. --- src/Common/Apidrvr.h | 1 + src/Common/Language.xml | 1 + 2 files changed, 2 insertions(+) (limited to 'src/Common') 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 @@ Advanced Options 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? Allow TRIM operation for non-system SSD partition/drive + Block TRIM command on system partition/drive -- cgit v1.2.3