It seems that the Device manager and devcon.exe do not actually remove the service associated with
a driver when uninstalling a device from the system. Additionally, it does not look like the SetupDi...
api supports this functionality. Both tools are properly removing device instances in my case, but
the service entries are left behind in the registry, and the driver binary files are left on the system.
This happens on both XP and W2K3. Looking through the docs there doesn't seem to be a PNP way
to remove them. DeleteService() and manual delete of the binaries seems to be the only way to get
everything off the system. There is an api to remove OEM .inf and .pnf files, but not a driver service
or binaries.
Is this on purpose, or was this an accidental omission from the PNP install support?
Is this going to be a problem in WHQL validation of a driver package?
Is there something I'm missing?
Tom Sanfippo