Hi all,
I have a com port driver. this is running absolutely fine when i load
it during the boot time. for loading it during the boot time, the
required registry entries and bib files are modified.
But the same generated DLL, if I load it during runtime, its failing.
I am copying all the registry entries in to builtin. and calling
ActivateDevice function. This is working fine. It register the dll,
call init functioonality and all. But in my active registry the name
entry is not registered. I dont know what might be the reason. I have
given proper prefixes and indexes. below are the entries that i have
registered in builtin.
[HKLM\Drivers\Builin\my_serial]
Prefix
Dll
Order
Index
DeviceArrayIndex
TSP
DeviceType
FriendlyName
DevConfig
And these are the entries registered in active
[HKLM\Drivers\Active\40]
Hnd
Key
ClientInfo
My requirement is such that, even the name has to be registered in the
active registry. Apart from it all the other things are working. My
driver is responding to createfile, readfile, writefile etc and i use
the same prefix and index for createfile function. It works verymuch
fine. My only problem is if I autodetect the COM ports present in my
device, App does not display my device in its list. This is because of
the name entry not being present in the active registry. So can any
one help me to resolve this problem.
Regards
Deepu