Re: WDF callback function for disable/enable ?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



acpi can mark a device as not disablable. some classes, like keyboard, will also mark a device as disablable. what do the capabilities for the device say in device manager?

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"hammerli22" <hammerli22@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:6D3DE7C6-29C1-4408-8357-73EFD8167832@xxxxxxxxxxxxxxxx
IHello,

After I installed my driver I notice that when I right mouse click there is
no Disable option. If I look in dev manager the Disable button is also greyed
out. Why do some driver have this ablity to be disabled / enabled and some
don't. Is there a
callback that I can make to be able to have this feature or did I forget
some initialization step somewhere. My device is not a i/o card
but a device that sits on the mother boad and is discoverd by device manager
with
a hardware id.

I have this in my .inf

ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL


thanks

.


Quantcast