struttura STOR_UNIT_ATTRIBUTES (storport.h)
La struttura STOR_UNIT_ATTRIBUTES contiene campi di bit che indicano il supporto di un'unità dispositivo di archiviazione per vari attributi.
Sintassi
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;
Membri
DeviceAttentionSupported
Impostare su 1 se l'attenzione del dispositivo è supportata per l'unità. In caso contrario, impostare su 0.
AsyncNotificationSupported
Impostare su 1 se il dispositivo supporta le notifiche asincrone. In caso contrario, impostare su 0.
D3ColdNotSupported
Impostare su 1 se lo stato di alimentazione fredda D3 è non supportato. In caso contrario, impostare su 0.
BypassIOSupported
Impostare su 1 se BypassIO è supportato per l'unità. In caso contrario, impostare su 0.
Reserved
Bit riservati. Deve essere impostato su 0.
Osservazioni
Per registrare il supporto di un'unità per vari attributi con Storport, un driver miniport Storport chiama StorPortSetUnitAttributes con questa struttura come parametro.
Se il driver miniport supporta le notifiche asincrone, il campo AsyncNotificationSupported impostato su 1, invierà notifiche al driver Storport usando la routine StorPortAsyncNotificationDetected.
Fabbisogno
Requisito | Valore |
---|---|
client minimo supportato | Windows 8 |
intestazione | storport.h (include Storport.h) |