How to UnInstall the Driver programmatically

Hi all

I want to unintall the WDM driver ( like USB device ) programmatically. The
remove example in WinDDK , checks for the Devices that are present in the
system before uninstalling . Is there any other way to uninstall the driver
even when the Device is not there ? Any body can let me know what we can do
for this ?

Thanks in advance
srinivasa

Try SetupDiCallClassInstaller( DIF_REMOVE,…

-----Original Message-----
From: Deevi, Srinivasa [mailto:xxxxx@microtune.com]
Sent: Wednesday, May 22, 2002 12:02 PM
To: NT Developers Interest List
Subject: [ntdev] How to UnInstall the Driver programmatically

Hi all

I want to unintall the WDM driver ( like USB device )
programmatically. The remove example in WinDDK , checks for
the Devices that are present in the system before
uninstalling . Is there any other way to uninstall the driver
even when the Device is not there ? Any body can let me know
what we can do for this ?

Thanks in advance
srinivasa


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

thanks for the reply.Right now I am using the same function to remove the
Device once I found an Hardware ID equivalent . I am trying to find a way to
uninstall even when the Device is not present .

-----Original Message-----
From: Gera Kazakov [mailto:xxxxx@setengineering.com]
Sent: Wednesday, May 22, 2002 11:05 AM
To: NT Developers Interest List
Subject: [ntdev] RE: How to UnInstall the Driver programmatically

Try SetupDiCallClassInstaller( DIF_REMOVE,…

-----Original Message-----
From: Deevi, Srinivasa [mailto:xxxxx@microtune.com]
Sent: Wednesday, May 22, 2002 12:02 PM
To: NT Developers Interest List
Subject: [ntdev] How to UnInstall the Driver programmatically

Hi all

I want to unintall the WDM driver ( like USB device )
programmatically. The remove example in WinDDK , checks for
the Devices that are present in the system before
uninstalling . Is there any other way to uninstall the driver
even when the Device is not there ? Any body can let me know
what we can do for this ?

Thanks in advance
srinivasa


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


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

Do not know how do you get HDEVINFO and SP_DEVINFO_DATA for your device but
if you use SetupDiGetClassDevs then do NOT include DIGCF_PRESENT flag into
the Flags parameter and you’ll get a set of all devices including
non-present ones.

-----Original Message-----
From: Deevi, Srinivasa [mailto:xxxxx@microtune.com]
Sent: Wednesday, May 22, 2002 12:52 PM
To: NT Developers Interest List
Subject: [ntdev] RE: How to UnInstall the Driver programmatically

thanks for the reply.Right now I am using the same function
to remove the Device once I found an Hardware ID equivalent .
I am trying to find a way to uninstall even when the Device
is not present .

-----Original Message-----
From: Gera Kazakov [mailto:xxxxx@setengineering.com]
Sent: Wednesday, May 22, 2002 11:05 AM
To: NT Developers Interest List
Subject: [ntdev] RE: How to UnInstall the Driver programmatically

Try SetupDiCallClassInstaller( DIF_REMOVE,…

> -----Original Message-----
> From: Deevi, Srinivasa [mailto:xxxxx@microtune.com]
> Sent: Wednesday, May 22, 2002 12:02 PM
> To: NT Developers Interest List
> Subject: [ntdev] How to UnInstall the Driver programmatically
>
>
> Hi all
>
> I want to unintall the WDM driver ( like USB device )
> programmatically. The remove example in WinDDK , checks for
> the Devices that are present in the system before
> uninstalling . Is there any other way to uninstall the driver
> even when the Device is not there ? Any body can let me know
> what we can do for this ?
>
> Thanks in advance
> srinivasa
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@setengineering.com To unsubscribe send a blank
> email to %%email.unsub%%
>


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


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