am trying to create a project that create a file, formatting it, create a new partition and mount it, dismount it ... in C++ with Qtcretor
I found that winapi offer several function help me to do that Format method of the Win32_Volume class
and AddMountPoint method of the Win32_Volume class
but there is no code example show how to use it I try with WMI C++ Application Examples but in vain
can any one put me on the way please?
Any help will be appreciated and thanks in advance.