-
Disabling a device
Checking around MSN I didn't come accross how to send a message to the OS to disable a device, only how to process messages sent from the OS.
Trying to figure out how to tell the OS to disable the device (ie Drives, ports, etc) ala Device Manager.
And no I'm not going to use this for some evil deed. Just for personal use.
Thanks.
-
I think your best bet is this:
http://support.microsoft.com/default...;EN-US;Q311272
Other than that you can use the DDK functions:
http://msdn.microsoft.com/library/en...-rtns_212q.asp
Obviously, this is highly dependent on OS version.
Search Web/Groups:
disable device programmatically