none
Can we disable devices in the KMDF driver development? RRS feed

Answers

  • by default you can disable a KMDF driver with devcon (assuming if there open handles, the apps close them). if you want the driver to disable itself, there is nothing in WDM or KMDF to change the state to disabled. the best you can do is call WdfDeviceSetFailed(no restart) and it will tear down the device stack. from there you can disable the device with devcon and then reenable it if desired

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, January 21, 2016 6:27 PM

All replies