Hard Drive Disk Space

Hello CPlusPlus forum, I need a little help with getting the hard drive information through C++.
I need to get hard drive information such as free space, send it through open ports to my home computer, then sending it through email to dedicated accounts.

The latter part is familiar to me, but I have never ever worked with hard drives in my programming, so any help would be useful. Thanks.
Last edited on
Use GetDiskFreeSpaceEx() function. Read remarks sections for more informations.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa364937%28v=vs.85%29.aspx
Topic archived. No new replies allowed.