// srb.h
PHW_ADAPTER_CONTROL PhwAdapterControl;
SCSI_ADAPTER_CONTROL_STATUS PhwAdapterControl(
[in] PVOID DeviceExtension,
[in] SCSI_ADAPTER_CONTROL_TYPE ControlType,
[in] PVOID Parameters
)
{...}
View the official Windows Driver Kit DDI reference
No description available.
The PHW_INITIALIZE routine prototype declares a routine that initializes the miniport driver after a reboot or power failure occurs.
DeviceExtension
[in]Pointer to the miniport driver's per-HBA storage area.
ControlType
[in]Specifies an adapter-control operation. For a list of the allowed operations, see HwScsiAdapterControl.
Parameters
[in]Contains information related to the ControlType. For an explanation of the meaning of these values, see the discussion accompanying the Parameters parameter of the HwScsiAdapterControl.
The routine declared by this prototype returns different sets of values depending on the control type. For a complete description of the return values, see HwScsiAdapterControl.
The adapter control routine for both SCSI and StorPort miniport drivers are declared using this prototype.
For more information about the SCSI miniport driver's adapter control routine, see HwScsiAdapterControl.
For more information about the adapter control routine that is used with the StorPort driver's miniport driver, see HwStorAdapterControl.