Frees a Storport timer context object previously created by the StorPortInitializeTimer routine.
ULONG StorPortFreeTimer( PVOID HwDeviceExtension, PVOID TimerHandle );
A pointer to the hardware device extension for the host bus adapter (HBA).
A pointer to an opaque buffer for the timer context returned by StorPortInitializeTimer.
The StorPortFreeTimer routine returns one of these status codes:
||Current IRQL > DISPATCH_LEVEL.|
||Either HwDeviceExtension or TimerHandle is NULL.|
||Insufficient resources are available to free the timer.|
||The timer was successfully freed.|
||The timer is already free.|
Miniports should call StorPortFreeTimer whenever a work item is no longer needed or when the miniport receives a PnP SRB notification that the adapter is removed.
|Windows version||Available in Windows 8 and later versions of Windows.|
|Header||storport.h (include Storport.h)|