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 ? --
******************
WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/
|