Corrupt virtual adapter device name on Vista
- From: its.my.mail.id@xxxxxxxxx
- Date: Wed, 16 Jul 2008 07:58:42 -0700 (PDT)
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
.
- Prev by Date: Re: How to get enumerator's DO (due to possible system bug)?
- Next by Date: Re: W2K package resubmission
- Previous by thread: Re: capturing emf spool file for later replay.
- Next by thread: Monolithic Storage Driver - Partition Creation Failure
- Index(es):
Relevant Pages
|