STOR_UNIT_ATTRIBUTES structure

The STOR_UNIT_ATTRIBUTES structure contains bitfields indicating attribute support for a storage device unit.

Syntax


typedef struct _STOR_UNIT_ATTRIBUTES {
  ULONG DeviceAttentionSupported  :1;
  ULONG AsyncNotificationSupported  :1;
  ULONG D3ColdNotSupported  :1;
  ULONG Reserved  :29;
} 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.

Reserved

Reserved bits. Must be set to 0.

Remarks

The unit attributes are registered with Storport using this structure as a parameter to the StorPortSetUnitAttributes routine.

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

Version

Available starting with Windows 8.

Header

Storport.h (include Storport.h)

See also

StorPortAsyncNotificationDetected
StorPortSetUnitAttributes

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft