14.2 Using Timer Routines

An NT driver writer can use an IoTimer or CustomTimerDpc routine for any purpose determined by that driver’s design, by the underlying device, or by the kinds of operations that driver must handle.

In general, a CustomTimerDpc routine should be used to time operations that require variable intervals or finer-grained intervals than once per second, while an IoTimer routine is easier to use if it serves the intended purpose.