I want to develop a program which keeps track of the amount of data written to my hard drive. I searched the Internet but didn’t find the necessary API calls.
But they have to exist as I found a commercial program (www.hddled.com) which does exactly what I want to achieve and it even shows the amount of data read/written when it’s started way after Windows was started. Thus I strongly suppose Windows keeps itself track of this figures somewhere?
I want to develop a program which keeps track of the amount of data
Share
In general, this sort of information is available through the Windows Performance Counters. In particular, the disk subsystem will publish (somewhere!) the number of bytes read and written to each disk device. Be prepared to do some digging to find exactly the information you are looking for.