NdisFreeTimerObject (Compact 2013)
3/26/2014
This function frees a timer object that was allocated with the NdisAllocateTimerObject function.
Syntax
VOID
NdisFreeTimerObject(
IN NDIS_HANDLE TimerObject
);
Parameters
- TimerObject
A handle to a timer object that NDIS provides when a driver calls the NdisAllocateTimerObject function.
Return Value
None
Remarks
To use timer services, an NDIS driver first calls the NdisAllocateTimerObject function to initialize a timer object. Typically, NdisAllocateTimerObject is called when a driver initializes. The driver must call NdisFreeTimerObject to free the timer object when the timer is no longer required.
To cancel a timer, call the NdisCancelTimerObject function. NdisCancelTimerObject dequeues the timer object if it is currently queued.
Requirements
Header |
ndis.h |
See Also
Reference
NDIS Timer Functions
NDIS_TIMER_CHARACTERISTICS
NdisAllocateTimerObject
NdisCancelTimerObject