PHW_ADAPTER_CONTROL - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-srb-phw_adapter_control)

PHW_ADAPTER_CONTROL callback

Description

The PHW_INITIALIZE routine prototype declares a routine that initializes the miniport driver after a reboot or power failure occurs.

Parameters

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.

Return value

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.

Remarks

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.

See also

HwScsiAdapterControl

HwStorAdapterControl