detect if driver is already installed

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,

I have a driver, simple .inf.
I 'install' it, wit SetupCopyOEMInf().

At this stage, the driver is not yet fully installed, until after device is
attached to the PC and windows (XP) detects the device and maps the right
drivers for it.

I wish to programmatically detect if drivers are already fully installed
(mapped to device).

What's the most reliable way?
I'm guessing I need to enumerate all devices and find for one that has the
correct Device ID?

Any easier way? Any sample code?

Thanks!

Lisa


.



Relevant Pages

  • Re: Windows XP vs Vista update unsigned PNP USB driver
    ... I strongly suggest you to update the version of the sys file and the ... the version info in the INF file has not changed. ... if there are more than one equally ranked driver that is a best ... Vista USB driver fresh install followed by the driver update and the other ...
    (microsoft.public.development.device.drivers)
  • Re: Unattended Install and third-party storage drivers
    ... ADAPTEC_AHCIRAID = "Adaptec SATA HostRAID driver for Windows ... Controller", MEGAIDE ... inf = d3, aichmgt.inf ...
    (microsoft.public.windows.server.setup)
  • Re: PnP Manager Problem
    ... Can you also post the INF from XP Pro version of the driver? ... it is a special version for XPe from Intel. ... ; ChecksumTxTcp ...
    (microsoft.public.windowsxp.embedded)
  • Re: Windows XP vs Vista update unsigned PNP USB driver
    ... If you update the sys file, its version should be changed, and you need to ... do the same in the DriverVer of the INF file. ... So the INF file should change whenever you update the driver. ... Fresh install of sys file and inf file presents the user with a Security ...
    (microsoft.public.development.device.drivers)
  • Re: Unattended Install and third-party storage drivers
    ... > Controller", MEGAIDE ... > #// Adaptec Embedded Serial ATA HostRAID Driver For Windows ... > inf = d3, aichmgt.inf ... > catalog = d3, aichmgt.cat ...
    (microsoft.public.windows.server.setup)