SRBEX_DATA_POWER structure (srb.h)
The SRBEX_DATA_POWER structure contains the request data for an extended power SRB.
Syntax
typedef struct _SRBEX_DATA_POWER {
SRBEXDATATYPE Type;
ULONG Length;
UCHAR SrbPowerFlags;
UCHAR Reserved[3];
STOR_DEVICE_POWER_STATE DevicePowerState;
STOR_POWER_ACTION PowerAction;
} SRBEX_DATA_POWER, *PSRBEX_DATA_POWER;
Members
Type
Data type indicator for the bidirectional extended SRB data structure. Set to SrbExDataTypePower.
Length
Length of the data in this structure starting with the SrbPowerFlags member. Set to SRBEX_DATA_POWER_LENGTH.
SrbPowerFlags
Indicates that the power request is for the adapter if SRB_POWER_FLAGS_ADAPTER_REQUEST is set and that storage device address is reserved. Otherwise, SrbPowerFlags will be NULL, indicating that the request is for the storage device specified by an address at AddressOffset in the STORAGE_REQUEST_BLOCK structure.
Reserved[3]
This member is reserved. Set to 0.
DevicePowerState
An enumerator value of type STOR_DEVICE_POWER_STATE that specifies the requested power state of the device.
PowerAction
An enumerator value of type STOR_POWER_ACTION that specifies the type of system shutdown that is about to occur. This value is meaningful only if the device is moving into the D1, D2, or D3 power state as indicated by the DevicePowerState member.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 8. |
Header | srb.h (include Storport.h, Srb.h, Minitape.h) |