NdisFreeTimerObject - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

VOID NdisFreeTimerObject(
  [in] NDIS_HANDLE TimerObject
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndisfreetimerobject)

NdisFreeTimerObject function

Description

The NdisFreeTimerObject function frees a timer object that was allocated with the NdisAllocateTimerObject function.

Parameters

TimerObject [in]

A handle to a timer object that NDIS provides when a driver calls the NdisAllocateTimerObject function.

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.

See also

NDIS_TIMER_CHARACTERISTICS

NdisAllocateTimerObject

NdisCancelTimerObject