diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-02-27 23:05:40 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-02-27 23:07:10 +0100 |
commit | c6d63e9365a3c591e6451aeeb049c24de12649bf (patch) | |
tree | 9763159e3c6458b823e113a591001e387a1c6654 /src/Driver/Ntdriver.c | |
parent | c1e81d96924e5e68257f67b65f1dda72e0103bdc (diff) | |
download | VeraCrypt-c6d63e9365a3c591e6451aeeb049c24de12649bf.tar.gz VeraCrypt-c6d63e9365a3c591e6451aeeb049c24de12649bf.zip |
Windows: Block Windows from resizing system partition if it is encrypted. This avoid issues during Windows Upgrade that sometimes resizes system partition which create problems if it is encrypted by VeraCrypt
Diffstat (limited to 'src/Driver/Ntdriver.c')
-rw-r--r-- | src/Driver/Ntdriver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Driver/Ntdriver.c b/src/Driver/Ntdriver.c index a5ef2472..2d025fa5 100644 --- a/src/Driver/Ntdriver.c +++ b/src/Driver/Ntdriver.c @@ -3381,6 +3381,8 @@ LPWSTR TCTranslateCode (ULONG ulCode) return (LPWSTR) _T ("IOCTL_STORAGE_CHECK_PRIORITY_HINT_SUPPORT"); else if (ulCode == IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES) return (LPWSTR) _T ("IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES"); + else if (ulCode == IOCTL_DISK_GROW_PARTITION) + return (LPWSTR) _T ("IOCTL_DISK_GROW_PARTITION"); else if (ulCode == IRP_MJ_READ) return (LPWSTR) _T ("IRP_MJ_READ"); else if (ulCode == IRP_MJ_WRITE) |