From 7d52dda67c370de7d615678b61920c822eeb7142 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 3 May 2015 08:43:10 +0200 Subject: Windows Driver: Implement querying physical sector size of veraCrypt volume through IOCTL_STORAGE_QUERY_PROPERTY --- src/Driver/Ntdriver.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Driver/Ntdriver.h') diff --git a/src/Driver/Ntdriver.h b/src/Driver/Ntdriver.h index 90ceb6b8..91cc6eed 100644 --- a/src/Driver/Ntdriver.h +++ b/src/Driver/Ntdriver.h @@ -58,8 +58,10 @@ typedef struct EXTENSION ULONG SectorsPerTrack; /* Partition info */ ULONG BytesPerSector; /* Partition info */ UCHAR PartitionType; /* Partition info */ - + uint32 HostBytesPerSector; + uint32 HostBytesPerPhysicalSector; + ULONG BytesOffsetForSectorAlignment; KEVENT keVolumeEvent; /* Event structure used when setting up a device */ -- cgit v1.2.3