IOCTL_EHSTOR_DEVICE_QUERY_PROPERTIES IOCTL (ehstorioctl.h)
A silo driver sends this IOCTL to the storage device stack to query for storage device properties. The Enhanced Storage Class Driver (EHSTOR) will handle the request and return the available properties.
Major code
Input buffer
None.
Input buffer length
None.
Output buffer
The output buffer at Irp->AssociatedIrp.SystemBuffer contains an EHSTOR_DEVICE_PROPERTIES structure. EHSTOR_DEVICE_PROPERTIES is declared in ehstorioctl.h as the following.
typedef struct _EHSTOR_DEVICE_PROPERTIES
{
ULONG StructSize;
ULONG BytesPerSector;
} EHSTOR_DEVICE_PROPERTIES;
Output buffer length
an EHSTOR_DEVICE_PROPERTIES structure.
Status block
STATUS_SUCCESS is returned in the Status field if device properties are returned in the system buffer. Otherwise, another appropriate status code is returned.
Remarks
Currently, bytes per sector is the only property available in EHSTOR_DEVICE_PROPERTIES.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 8 |
Header | ehstorioctl.h (include EhStorIoctl.h) |