STOR_UNIT_ATTRIBUTES structure (storport.h)

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

Syntax

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;

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.

Requirements

Requirement Value
Minimum supported client Windows 8
Header storport.h (include Storport.h)

See also

StorPortAsyncNotificationDetected

StorPortSetUnitAttributes