Maxim
Fri Oct 24 11:40:35 CDT 2003
SetupDiCallClassInstaller with appropriate function code. Look at DEVCON DDK
sample, which is a command-line Device Manager.
Note that for many cases, the disk disable is impossible without a reboot - the
machine will start with disk disabled after reboot.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"shak" <kpf@netcell.com> wrote in message
news:015401c3998f$4d0d34b0$a401280a@phx.gbl...
> Hi All,
>
> How to Enable/Disable Disk drives programmatically. like
> we do manually from Device Manager.
>
> Thanks, Shak