// storport.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
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.
HeaderThe STOR_POWER_CONTROL_HEADER structure.
PowerControlCodeA power control code GUID identifying the private control operation to execute for the unit or adapter.
InBufferSizeThe size, in bytes, of the input buffer at InBuffer.
OutBufferSizeThe size, in bytes, of the output buffer at OutBuffer.
InBufferPointer to the buffer containing input parameters and data for the private power control call.
OutBufferPointer to the buffer where the resulting output parameters and data are returned for the private power control call.
BytesReturnedThe size, in bytes, of the data returned in OutBuffer.