STOR_POFX_ACTIVE_CONTEXT结构(storport.h)
当微型端口的 HwStorUnitControl 例程使用 ControlTypeScsiUnit 时,STOR_POFX_ACTIVE_CONTEXT参数 参数所指向的结构 使用 ScsiAdapterPoFxPowerActive的 ControlType 调用poFxPowerActive 或微型端口的 HwStorAdapterControl 例程。
语法
typedef struct _STOR_POFX_ACTIVE_CONTEXT {
STOR_POWER_CONTROL_HEADER Header;
ULONG ComponentIndex;
BOOLEAN Active;
} STOR_POFX_ACTIVE_CONTEXT, *PSTOR_POFX_ACTIVE_CONTEXT;
成员
Header
ComponentIndex
具有活动状态的设备组件的索引。 对于单元设备和适配器,组件索引始终为 0。
Active
组件的活动状态。 对于单元设备,如果单元处于活动状态,则 Active 设置为 TRUE;如果单元处于空闲状态,则为 FALSE FALSE。 对于适配器,Active 始终设置为 true true。
要求
要求 | 价值 |
---|---|
最低支持的客户端 | Windows 8 |
标头 | storport.h |