Timer callback in my filter driver

Hi All,

I want to implement a timer callback in my filter driver such as the one
available in VC++ (TimerProc) which will, after a certian amount of time do
the cleanup in a link list.

Actually what i want is that, in the linked list that i am keeping an Entry
as Referece Count (along with other entries). Whenever the reference count
on an entry goes to 0, i want to attach a timerproc which will do cleanup
of that entry after 3seconds. In the meantime (during those three seconds)
there should not be any hinderence in using the link list.

Please suggess what can be done for it.

Thanks and Regards,
Shreshth

Hi,
Use kernel time object KTIMER. Use KeInitializeTimer, KeSetTimer for initializing and set timer interval.

Best regards,
Victor Fisyuk
EMail/MSN: xxxxx@rambler.ru
Web: http://rockdbg.siteburg.com
“Shreshth Luthra” wrote in message news:xxxxx@ntfsd…
Hi All,

I want to implement a timer callback in my filter driver such as the one available in VC++ (TimerProc) which will, after a certian amount of time do the cleanup in a link list.

Actually what i want is that, in the linked list that i am keeping an Entry as Referece Count (along with other entries). Whenever the reference count on an entry goes to 0, i want to attach a timerproc which will do cleanup of that entry after 3seconds. In the meantime (during those three seconds) there should not be any hinderence in using the link list.

Please suggess what can be done for it.

Thanks and Regards,
Shreshth