Since VDS is being deprecated and the Windows Storage Management API is replacing it - are there any WMI, IOCTL, DeviceIoControl or Windows Storage Management API methods that are equivalent to the VDS method "UninstallDisks"?
I'm not able to find any other method of doing what the VDS method "UninstallDisks" does.
Any help would be appreciated.
Figured it out myself with a combination of other contributors code.
Reference: Win32 API function to programmatically enable/disable device
Main codebase below:
Usage: