STOR_POWER_CONTROL_HEADER structure (storport.h)

STOR_POWER_CONTROL_HEADER is a common power control header for both adapter and unit power-related control parameters.

Syntax

typedef struct _STOR_POWER_CONTROL_HEADER {
  ULONG         Version;
  ULONG         Size;
  PSTOR_ADDRESS Address;
} STOR_POWER_CONTROL_HEADER, *PSTOR_POWER_CONTROL_HEADER;

Members

Version

The version of the parent structure. Set to 1.

Size

Size of the parent structure, in bytes. For example, if the parent structure is STOR_ADAPTER_CONTROL_POWER, set Size to sizeof(STOR_ADAPTER_CONTROL_POWER).

Address

For a unit, Address points to a STOR_ADDRESS structure that holds the address of the unit the control operation is specified for. For adapters, Address is NULL.

Remarks

STOR_POWER_CONTROL_HEADER is used when HwStorUnitControl and HwStorAdapterControl are called with power-related controls.

Requirements

Requirement Value
Minimum supported client Windows 8
Header storport.h

See also

HwStorAdapterControl

HwStorUnitControl

STOR_ADAPTER_CONTROL_POWER

STOR_POFX_ACTIVE_CONTEXT

STOR_POFX_FSTATE_CONTEXT

STOR_POFX_POWER_CONTROL

STOR_POFX_POWER_REQUIRED_CONTEXT

STOR_POFX_UNIT_POWER_INFO