Hi,
I’m trying to uninstall a driver with the DeleteService(…) (Windows 2K),
and the function completes with success.
But if I examine the driver entry within “Computer management -> Device
Manager” it is still there.
The device state is only set to disabled, but the entry has not been
removed.
The entries do not disapear even after the PC has been rebooted.
Is there a way to completely remove a driver entry? and which set of
functions are used for that?
Best Regards
Michael
> Is there a way to completely remove a driver entry? and which set of
functions are used for that?
No ways except manual registry tweaks.
Max
Hi Max,
Thanks for your answer.
----- Original Message -----
From: “Maxim S. Shatskih”
> > Is there a way to completely remove a driver entry? and which set of
> > functions are used for that?
>
> No ways except manual registry tweaks.
>
After spending some extra time I found a solution with the help of
SetupDixxx API functions.
(Win2k and later).
Regards
Michael
Look at the SetupDI* functions. I don’t think they will completely remove
all registry keys or files but they do uninstall the driver. However, if
you reboot your system and don’t remove your hardware, the driver will be
re-installed.
-----Original Message-----
From: Michael Kurz [mailto:xxxxx@sonymusic.com]
Sent: Thursday, June 05, 2003 2:55 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Uninstalling a driver.
Hi,
I’m trying to uninstall a driver with the DeleteService(…)
(Windows 2K),
and the function completes with success.
But if I examine the driver entry within “Computer management
-> Device
Manager” it is still there.
The device state is only set to disabled, but the entry has not been
removed.
The entries do not disapear even after the PC has been rebooted.
Is there a way to completely remove a driver entry? and which set of
functions are used for that?
Best Regards
Michael
You are currently subscribed to ntdev as: xxxxx@cognex.com
To unsubscribe send a blank email to xxxxx@lists.osr.com