Bewerken

Delen via


IoStartTimer function (wdm.h)

The IoStartTimer routine enables the timer associated with a given device object so the driver-supplied IoTimer routine is called once per second.

Syntax

void IoStartTimer(
  [in] PDEVICE_OBJECT DeviceObject
);

Parameters

[in] DeviceObject

Pointer to a device object whose timer routine is to be called.

Return value

None

Remarks

The driver must already have set up the IoTimer routine for the DeviceObject by calling IoInitializeTimer.

Requirements

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

See also

IoInitializeTimer

IoStopTimer

IoTimer

KeInitializeDpc

KeInitializeTimer

KeSetTimer