I wrote a startup program that does stuff like change the wallpaper and a couple other superficial things. I've noticed that under XP, the hard drive thrashes for a good thirty seconds after my startup program finishes running.
I'd like to have my program monitor the hard drive thrashing and activate the screen saver when it finishes. Anyone know how to check for hard drive (in)activity? If time is an issue, I'm thinking wait for a 2 second window of inactivity.
EDIT: It's an IDE hard drive (as opposed to SCSI) and it's the only hard drive in the computer, if that matters.
Last edited by Ellis Dee; Dec 6th, 2009 at 07:40 PM.
I encapsulated the pdh stuff into a class and added a little graphical hd activity indicator. Attached is the finished "proof of concept" project if anyone is interested.
I encapsulated the pdh stuff into a class and added a little graphical hd activity indicator. Attached is the finished "proof of concept" project if anyone is interested.
Neat!
I made it so it shows the activity in tray icon, may need some tweaking.
Posted in code bank here