HwScsiTimer routine

HwScsiTimer is called after the interval specified when the miniport driver called ScsiPortNotification with the RequestTimerCallNotificationType value.

Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
 

Syntax


PHW_TIMER HwScsiTimer;

VOID HwScsiTimer(
  _In_ PVOID DeviceExtension
)
{ ... }

Parameters

DeviceExtension [in]

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

Return value

None.

Remarks

A miniport driver that does not have an HwScsiInterrupt routine because it manages all HBA I/O operations by polling should have an HwScsiTimer routine.

A miniport driver should use HwScsiTimer instead of ScsiPortStallExecution whenever a wait longer than a millisecond is required.

The name HwScsiTimer is just a placeholder. The actual prototype of this routine is defined in srb.h as follows:


typedef
VOID
(*PHW_TIMER) (
  IN PVOID  DeviceExtension
  );

For a discussion of when and how to use HwScsiTimer see SCSI Miniport Driver's HwScsiTimer Routine.

A HwScsiTimer routine is optional.

Requirements

Target platform

Header

Miniport.h (include Scsi.h)

See also

ScsiPortNotification

 

 

Send comments about this topic to Microsoft

Show: