Bewerken

Delen via


PHW_RESET_BUS callback function (srb.h)

The PHW_RESET_BUS prototype declares a routine that resets the indicated SCSI bus.

Syntax

PHW_RESET_BUS PhwResetBus;

BOOLEAN PhwResetBus(
  [in] PVOID DeviceExtension,
  [in] ULONG PathId
)
{...}

Parameters

[in] DeviceExtension

Pointer to the miniport driver's per-HBA storage area.

[in] PathId

Contains a number that identifies the SCSI bus to be reset.

Return value

The routine that this prototype declares returns TRUE if the bus is successfully reset. The routine returns FALSE if the bus is not successfully reset.

Remarks

The initialization routine for both SCSI and StorPort miniport drivers are declared using this prototype.

For more information about the SCSI miniport driver's bus reset routine see HwScsiResetBus.

For more information about the bus reset routine that is used with the StorPort driver's miniport driver routine, see HwStorResetBus.

Requirements

Requirement Value
Target Platform Desktop
Header srb.h (include Storport.h, Srb.h, Storport.h)

See also

HwScsiResetBus

HwStorResetBus