SOT: How to do a driver enable or disable from ring 3 app ?

In W2K/Xp a driver can be 'Disable’d or 'Enable’d from the context menu
for a device in the device manager MMC. What is the interface to
programmatically do this ?
Thanks.

Try SetupDiCallClassInstaller/DIF_PROPERTYCHANGE/DICS_DISABLE or
DICS_ENABLE.

Max

----- Original Message -----
From: “Richard Mahn”
To: “NT Developers Interest List”
Sent: Wednesday, June 19, 2002 12:58 AM
Subject: [ntdev] SOT: How to do a driver enable or disable from ring 3
app ?

In W2K/Xp a driver can be 'Disable’d or 'Enable’d from the context
menu
for a device in the device manager MMC. What is the interface to
programmatically do this ?
Thanks.


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%

Thanks.
Another source directed me to the DDK Setup\Enable and Setup\DevCon (on
XP DDK only) samples. They use SetupDiSetClassInstallParams which sounds
like it could be a wrapped version or other variation of the one you
suggested.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Thursday, June 20, 2002 2:07 PM
To: NT Developers Interest List
Subject: [ntdev] Re: SOT: How to do a driver enable or disable from ring
3 app ?

Try SetupDiCallClassInstaller/DIF_PROPERTYCHANGE/DICS_DISABLE or
DICS_ENABLE.

Max

----- Original Message -----
From: “Richard Mahn”
To: “NT Developers Interest List”
Sent: Wednesday, June 19, 2002 12:58 AM
Subject: [ntdev] SOT: How to do a driver enable or disable from ring 3
app ?

In W2K/Xp a driver can be 'Disable’d or 'Enable’d from the context
menu
for a device in the device manager MMC. What is the interface to
programmatically do this ?
Thanks.


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as: xxxxx@Entivity.Com
To unsubscribe send a blank email to %%email.unsub%%