PHW_RESET_BUS routine

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

Syntax


typedef BOOLEAN (*PHW_RESET_BUS)(
  _In_ PVOID DeviceExtension ,
  _In_ ULONG PathId
);

Parameters

DeviceExtension [in]

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

PathId [in]

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

Target platform

Header

Srb.h (include Storport.h, Srb.h, or Storport.h)

See also

HwScsiResetBus
HwStorResetBus

 

 

Send comments about this topic to Microsoft

Show: