IoStopTimer function (ntifs.h)

The IoStopTimer routine disables the timer for a specified device object so the driver-supplied IoTimer routine is not called.

Syntax

void IoStopTimer(
  [in] PDEVICE_OBJECT DeviceObject
);

Parameters

[in] DeviceObject

Pointer to the device object with which the IoTimer routine is associated.

Return value

None

Remarks

The driver-supplied IoTimer routine can be reenabled with a call to IoStartTimer.

Do not call IoStopTimer from within the IoTimer routine.

Requirements

Requirement Value
Minimum supported client Windows 2000
Target Platform Windows
Header ntifs.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= DISPATCH_LEVEL

See also

IoInitializeTimer

IoStartTimer