I was wondering why MSVAD calls to KeSetTimerEx with this DueTime:|
delay.HighPartÂÂÂÂÂ = 0;
delay.LowPartÂÂÂÂÂÂ = m_pMiniport->m_NotificationInterval;
[lines 926-7Â from basewave.cpp]
Since NotificationInterval it's usually 10 (ms), DueTime is an _absolute_ value of... 10!
(January 1st 1601 00:00:00.000001 -- One microsecond from the epoch used for system timer)
I think that it should be:
delay.QuadPartÂÂÂÂÂ = (LONGLONG) -(m_pMiniport->m_NotificationInterval);
Isn't it? Or can I use directly 0 as DueTime ?