sys: implement SectorSize queries

- IRP_MJ_QUERY_VOLUME_INFORMATION/FileFsSectorSizeInformation
- IOCTL_STORAGE_QUERY_PROPERTY/StorageAccessAlignmentProperty
This commit is contained in:
Bill Zissimopoulos
2019-09-06 20:52:15 -07:00
parent de75454d50
commit 9436fd8402
4 changed files with 107 additions and 8 deletions

View File

@ -27,6 +27,7 @@
#define POOL_NX_OPTIN 1
#include <ntifs.h>
#include <mountdev.h>
#include <ntddstor.h>
#include <ntstrsafe.h>
#include <wdmsec.h>
#include <winfsp/fsctl.h>
@ -1106,6 +1107,7 @@ typedef struct
typedef struct
{
FSP_DEVICE_EXTENSION Base;
UINT16 SectorSize;
LONG IsMountdev;
BOOLEAN Persistent;
GUID UniqueId;