Corrupt virtual adapter device name on Vista



I have a driver installation application that installs a miniport
adapter device programatically which is accessed by user-mode
applications through raw file access api like CreateFile(). The driver
installation application used setupapi and is always successful on XP
but fails ramdomly on Vista.

When it fails WinObj tool shows a corrupt device name (Example:
HWID_{GUID}JunkCharacters) but all the registry entries are ok. Due to
this my user-mode application fails to open the adapter.

This is the sequence of calls i make in driver installation program...
SetupDiGetINFClass()
SetupCopyOEMInf()
SetupDiCreateDeviceInfo()
SetupDiSetDeviceRegistryProperty() -- to set HWID
SetupDiCallClassInstaller() -- NetCfg calss installers
UpdateDriverForPlugAndPlayDevices()

please help me resolve this
thanks in advance
FI
.



Relevant Pages

  • Re: Device Cannot Start [code 10] on netgear wifi adapter
    ... inital driver installation it produces the dial up dialogue. ... had spyware in it (I have run my virus checker, ... Outgoing mail is certified Virus Free. ...
    (microsoft.public.windowsxp.help_and_support)
  • Problem installing Ethernet card
    ... driver installation. ... installation, the data is invalid". ... I was adviced to reinstall my operating system, ... fix the system to recognize the card without reinstalling the system? ...
    (microsoft.public.windowsxp.network_web)
  • Problem installing Ethernet card
    ... driver installation. ... installation, the data is invalid". ... I was adviced to reinstall my operating system, ... fix the system to recognize the card without reinstalling the system? ...
    (microsoft.public.windowsxp.device_driver.dev)
  • Re: Non-CUPS Printer Drivers on OS X
    ... driver installation works fine, but I realize it's not a GIMP/CUPS ... output only to a USB device. ... email to oshea dot j dot j at gmail dot com. ...
    (comp.sys.mac.system)
  • Re: Americas Army. Laptops shutting down 10 min into game...
    ... Driver installation instructions should be provided at the web ... Plug in your laptop for the best results when gaming. ... OVERHEATING is the #1 cause of various laptop problems! ...
    (microsoft.public.games)