StorPortNotification for QueryTickCount routine

The QueryTickCount notification returns the tick count from the system interval timer.

Syntax


VOID StorPortNotification(
  _In_     SCSI_NOTIFICATION_TYPE NotificationType,
  _In_     PVOID HwDeviceExtension,
  _Inout_  PLARGE_INTEGER TickCount
);

Parameters

NotificationType [in]

Specifies the QueryTickCount notification type. The QueryTickCount notification uses the additional parameter of TickCount.

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.

TickCount [in, out]

A pointer to a LARGE_INTEGER which receives the tick count value.

Return value

None

Remarks

The value returned in TickCount is the count of the interval timer interrupts that have occurred since the system was booted.

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

Requirements

Header

Storport.h (include Storport.h)

Library

Storport.lib

See also

StorPortInitialize
StorPortNotification

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft