VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/Ntdriver.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-05-23 12:23:07 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-05-25 01:15:16 +0200
commitcda40547fe35b28321f7a00b53cc18eb9cf77cba (patch)
treec6623de47b0912a0d4f1d95a60e937d85ea078f9 /src/Driver/Ntdriver.h
parenta117f040687e307c948bba04a9f98fd713f6de82 (diff)
downloadVeraCrypt-cda40547fe35b28321f7a00b53cc18eb9cf77cba.tar.gz
VeraCrypt-cda40547fe35b28321f7a00b53cc18eb9cf77cba.zip
Windows: query extra host drive information using IOCTL_STORAGE_QUERY_PROPERTY (StorageAdapterProperty) in both driver and user mode applications.
Diffstat (limited to 'src/Driver/Ntdriver.h')
-rw-r--r--src/Driver/Ntdriver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Driver/Ntdriver.h b/src/Driver/Ntdriver.h
index 5b52ab04..09a29542 100644
--- a/src/Driver/Ntdriver.h
+++ b/src/Driver/Ntdriver.h
@@ -63,6 +63,9 @@ typedef struct EXTENSION
uint32 HostBytesPerSector;
uint32 HostBytesPerPhysicalSector;
+ ULONG HostMaximumTransferLength;
+ ULONG HostMaximumPhysicalPages;
+ ULONG HostAlignmentMask;
KEVENT keVolumeEvent; /* Event structure used when setting up a device */