STOR_UNIT_ATTRIBUTES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// storport.h

typedef struct _STOR_UNIT_ATTRIBUTES {
  ULONG DeviceAttentionSupported : 1;
  ULONG AsyncNotificationSupported : 1;
  ULONG D3ColdNotSupported : 1;
  ULONG BypassIOSupported : 1;
  ULONG Reserved : 28;
} STOR_UNIT_ATTRIBUTES, *PSTOR_UNIT_ATTRIBUTES;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-storport-_stor_unit_attributes)

STOR_UNIT_ATTRIBUTES structure

Description

The STOR_UNIT_ATTRIBUTES structure contains bit fields that indicate a storage device unit's support for various attributes.

Members

DeviceAttentionSupported

Set to 1 if device attention is supported for the unit. Otherwise, set to 0.

AsyncNotificationSupported

Set to 1 if the device supports asynchronous notifications. Otherwise, set to 0.

D3ColdNotSupported

Set to 1 if the D3 Cold power state is not supported. Otherwise, set to 0.

BypassIOSupported

Set to 1 if BypassIO is supported for the unit. Otherwise, set to 0.

Reserved

Reserved bits. Must be set to 0.

Remarks

To register a unit's support for various attributes with Storport, a Storport miniport driver calls StorPortSetUnitAttributes with this structure as a parameter.

If the miniport driver supports asynchronous notifications, the AsyncNotificationSupported field set to 1, it will send notifications to the Storport driver using the StorPortAsyncNotificationDetected routine.

See also

StorPortAsyncNotificationDetected

StorPortSetUnitAttributes