STOR_POFX_POWER_CONTROL structure (storport.h)

STOR_POFX_POWER_CONTROL is the structure pointed to by the Parameters parameter when a miniport's HwStorUnitControl routine is called with a ControlType of ScsiUnitPoFxPowerControl or HwStorAdapterControl routine is called with a ControlType of ScsiAdapterPoFxPowerControl.

Syntax

typedef struct _STOR_POFX_POWER_CONTROL {
  STOR_POWER_CONTROL_HEADER Header;
  LPCGUID                   PowerControlCode;
  SIZE_T                    InBufferSize;
  SIZE_T                    OutBufferSize;
  PVOID                     InBuffer;
  PVOID                     OutBuffer;
  PSIZE_T                   BytesReturned;
} STOR_POFX_POWER_CONTROL, *PSTOR_POFX_POWER_CONTROL;

Members

Header

The STOR_POWER_CONTROL_HEADER structure.

PowerControlCode

A power control code GUID identifying the private control operation to execute for the unit or adapter.

InBufferSize

The size, in bytes, of the input buffer at InBuffer.

OutBufferSize

The size, in bytes, of the output buffer at OutBuffer.

InBuffer

Pointer to the buffer containing input parameters and data for the private power control call.

OutBuffer

Pointer to the buffer where the resulting output parameters and data are returned for the private power control call.

BytesReturned

The size, in bytes, of the data returned in OutBuffer.

Requirements

Requirement Value
Minimum supported client Windows 8
Header storport.h

See also

HwStorAdapterControl

HwStorUnitControl

STOR_POWER_CONTROL_HEADER