IOCTL_EHSTOR_DEVICE_QUERY_PROPERTIES

IOCTL_EHSTOR_DEVICE_QUERY_PROPERTIES control code

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.

Input Parameters

None.

Output Parameters

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;

StructSize

The size of the structure. This is set to sizeof(EHSTOR_DEVICE_PROPERTIES).

BytesPerSector

The size, in bytes, of a sector on the underlying storage device.

I/O 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

Version

Available starting with Windows 8

Header

EhStorIoctl.h (include EhStorIoctl.h)

See also

SILO_DRIVER_CAPABILITES

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft