The CustomTimerDpc routine executes after a timer object's time interval expires.
VOID
CustomTimerDPC(
IN struct _KDPC *Dpc,
IN PVOID DeferredContext,
IN PVOID SystemArgument1,
IN PVOID SystemArgument2
);
None
A driver's CustomTimerDpc routine executes in a DPC context, at IRQL = DISPATCH_LEVEL.
To create a DPC object and register a CustomTimerDpc routine for that object, a driver must call KeInitializeDPC.
To queue a CustomTimerDpc routine for execution, a driver routine must call KeSetTimer or KeSetTimerEx, supplying a DPC object pointer returned by KeInitializeDPC. The system calls the CustomTimerDpc routine when the timer interval expires.
For more information about CustomTimerDpc routines, see Timer Objects and DPCs.