This topic has not yet been rated - Rate this topic

HwScsiTimer routine

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

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

Header

Miniport.h (include Scsi.h)

See also

ScsiPortNotification

 

 

Send comments about this topic to Microsoft

Build date: 5/17/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.