NdisCancelTimer

VOID
   NdisCancelTimer(
       IN PNDIS_TIMER Timer,
       OUT PBOOLEAN TimerCancelled
       );

NdisCancelTimer is called by the NIC driver to cancel a timer object that NdisSetTimer has set.

Parameters

Timer

Points to an initialized and set timer object.

TimerCancelled

Points to a caller-supplied variable in which this function returns TRUE if it cancels a set timer that has not expired. The function returns FALSE if the timer has expired or has never been set.

Comments

This function cancels the immediately preceding call to NdisSetTimer only if the interval passed to NdisSetTimer has not yet expired.

Callers of NdisCancelTimer run at IRQL <= DISPATCH_LEVEL.

See Also

NdisInitializeTimer, NdisSetTimer