Hooks aren't always your best option for tracking user idle time. Not only are they often difficult to write, but they also must be loaded into every desktop process and they can trigger some anti-spyware software. Tom Archer offers a more efficient technique.
Managed Extensions: Tracking User Idle Time Without Hooks
Published 10/04/2004