NdisFreeTimerObject
Collapse the table of content
Expand the table of content

NdisFreeTimerObject function

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

Syntax


VOID NdisFreeTimerObject(
  _In_ NDIS_HANDLE TimerObject
);

Parameters

TimerObject [in]

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

Target platform

Universal

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

Irql_Timer_Function

See also

NDIS_TIMER_CHARACTERISTICS
NdisAllocateTimerObject
NdisCancelTimerObject

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft