ScsiPortNotification (NotificationType = RequestTimerCall) routine
The ScsiPortNotification routine informs the operating system-specific port driver of certain events, such as when a miniport driver completes a request or is ready to start another SRB, as well as when the HBA indicates certain SCSI error conditions that occurred during an operation.
VOID ScsiPortNotification( _In_ SCSI_NOTIFICATION_TYPE NotificationType, _In_ PVOID HwDeviceExtension, _In_opt_ PHW_TIMER HwScsiTimer, _In_opt_ ULONG MiniportTimerValue );
- NotificationType [in]
Specifies the type of notification. A NotificationType of RequestTimerCall indicates that the miniport driver requires the operating system-specific port driver to call the miniport driver's HwScsiTimer routine in the requested number of microseconds. If this value is set, ScsiPortNotification requires two additional parameters: (1) the entry point for the miniport driver's HwScsiTimer routine, and (2) a MiniportTimerValue interval, in microseconds. Note that the resolution of the system timer is approximately 10 milliseconds..
- HwDeviceExtension [in]
Pointer to the hardware device extension. This is a per-HBA storage area that the port driver allocates and initializes on behalf of the miniport driver. Miniport drivers usually store HBA-specific information in this extension, such as the state of the HBA and the HBA's mapped access ranges. This area is available to the miniport driver in the DeviceExtension->HwDeviceExtension member of the HBA's device object immediately after the miniport driver calls ScsiPortInitialize. The port driver frees this memory when it removes the device.
- HwScsiTimer [in, optional]
Pointer to a timer routine that is called after the interval specified in MiniportTimerValue. This parameter is optional.
- MiniportTimerValue [in, optional]
Indicates the interval after which the timer routine pointed to by HwScsiTimer is called. This parameter is optional.
For information about the effects of other notification types, see ScsiPortNotification.