Disk Drive Properties with the right click

I am developing a c++ project, to get disk drive device properties.I want to know if is possible to get properties that we get can get'it whith right click on the device, with a c++ code.
could anyone help.
What operating system are you using? Not all operating systems make this information available in their API.
I'm using windows 7.
A simple Google search for "C++ Windows get disk drive properties" gives some promising looking Windows API functions. GetVolumeInformation looks like it might be what you want.
Exactly what disk information do you want to get ?
Thank you for your time, i want to know about defragmentation and quota information.
Topic archived. No new replies allowed.