Can I remove an instance of a driver using the SetupDiXXX routines?
Thanks,
Joe
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Can I remove an instance of a driver using the SetupDiXXX routines?
Thanks,
Joe
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Yes,
Use SetupDiRemoveDevice function.
The prototype is:
BOOLEAN SetupDiRemoveDevice( IN HDEVINFO DeviceInfoSet, IN OUT
PSP_DEVINFO_DATA DeviceInfoData );
Remember, this will only work on NT style operating systems. For 9x you
have to use the 16-bit version, DiRemoveDevice function.
SetupDiRemoveDevice is described in the Win2k ddk. DiRemoveDevice is
described in the WIn98 ddk.
Joe McCloskey
Gamry Instruments, Inc.
xxxxx@gamry.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Joe Moriarty
Sent: Thursday, September 27, 2001 9:49 AM
To: NT Developers Interest List
Subject: [ntdev] General question
Can I remove an instance of a driver using the SetupDiXXX routines?
Thanks,
Joe
You are currently subscribed to ntdev as: xxxxx@gamry.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com