Thread: Disabling a device

  1. #1
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001

    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.


  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    I think your best bet is this:;EN-US;Q311272

    Other than that you can use the DDK functions:

    Obviously, this is highly dependent on OS version.

    Search Web/Groups:
    disable device programmatically

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Block device I/O under linux, can someone point me in the right direction?
    By BooBoo808 in forum Networking/Device Communication
    Replies: 8
    Last Post: 11-20-2007, 09:08 PM
  2. Device Driver: sysfs confusion
    By filker0 in forum Linux Programming
    Replies: 0
    Last Post: 12-02-2005, 11:36 AM
  3. Modem in Linux need help fast please!
    By xxxrugby in forum Tech Board
    Replies: 0
    Last Post: 03-30-2005, 04:10 PM
  4. Replies: 4
    Last Post: 06-30-2004, 03:11 PM
  5. Device problem
    By John22 in forum C Programming
    Replies: 0
    Last Post: 12-19-2002, 12:02 PM