VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/Ntdriver.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-04 15:53:14 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-04 16:29:31 +0100
commitcc02c78a8c1936b5093d568774394686dea1cf28 (patch)
tree0b5a7591b249f90739883810caeebb5269367503 /src/Driver/Ntdriver.c
parent4f56a0a53d2195d4a1bb3e36675f6f1eb08e9634 (diff)
downloadVeraCrypt-cc02c78a8c1936b5093d568774394686dea1cf28.tar.gz
VeraCrypt-cc02c78a8c1936b5093d568774394686dea1cf28.zip
Windows Driver: add TrueCrypt mode of mounted volumes to the output of TC_IOCTL_GET_MOUNTED_VOLUMES
Diffstat (limited to 'src/Driver/Ntdriver.c')
-rw-r--r--src/Driver/Ntdriver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Driver/Ntdriver.c b/src/Driver/Ntdriver.c
index 5ed407dd..7535ed21 100644
--- a/src/Driver/Ntdriver.c
+++ b/src/Driver/Ntdriver.c
@@ -1146,6 +1146,7 @@ NTSTATUS ProcessMainDeviceControlIrp (PDEVICE_OBJECT DeviceObject, PEXTENSION Ex
list->volumeType[ListExtension->nDosDriveNo] = PROP_VOL_TYPE_OUTER; // Normal/outer volume (hidden volume protected)
else
list->volumeType[ListExtension->nDosDriveNo] = PROP_VOL_TYPE_NORMAL; // Normal volume
+ list->truecryptMode[ListExtension->nDosDriveNo] = ListExtension->cryptoInfo->bTrueCryptMode;
}
}