StorPortNotification for RequestTimerCall routine

A miniport uses the RequestTimerCall notification to request that the Storport driver call the miniport driver's HwStorTimer routine after a specified number of microseconds.

Syntax


VOID StorPortNotification(
  _In_ SCSI_NOTIFICATION_TYPE NotificationType,
  _In_ PVOID                  HwDeviceExtension,
  _In_ PHW_TIMER              HwStorTimer,
  _In_ ULONG                  MiniportTimerValue
);

Parameters

NotificationType [in]

Specifies the RequestTimerCall notification type. The RequestTimerCall notification uses the additional parameters of HwStorTimer and MiniportTimerValue.

HwDeviceExtension [in]

A 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 mapped access ranges for the HBA. This area is available to the miniport driver immediately after the miniport driver calls StorPortInitialize. The port driver frees this memory when it removes the device.

HwStorTimer [in]

A pointer to a timer routine that is called after the interval of time that is specified in MiniportTimerValue.

MiniportTimerValue [in]

Indicates the interval after which the timer routine pointed to by HwStorTimer is called. This is a positive value specified in microseconds. A value of 0 will cancel the timer. The system timer resolution is approximately 10 milliseconds.

Return value

None

Remarks

For information about the effects of other notification types, see StorPortNotification.

Requirements

Target platform

Universal

Header

Storport.h (include Storport.h)

Library

Storport.lib

See also

HwStorTimer
StorPortInitialize
StorPortNotification

 

 

Send comments about this topic to Microsoft

Show: