Disabling a device

This is a discussion on Disabling a device within the Windows Programming forums, part of the Platform Specific Boards category; Checking around MSN I didn't come accross how to send a message to the OS to disable a device, only ...

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

    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.

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    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

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, 04:11 PM
  5. Device problem
    By John22 in forum C Programming
    Replies: 0
    Last Post: 12-19-2002, 12:02 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21