Hi,
This might something very obvious but I can't seem to figure this out.
I know it's possible to add registry parameters for a driver, this path is passed as argument to driver's DriverEntry. This path is
HKEY_LOCAL_MACHINE\SYSTEM\ControlSetXXX\Services\DRIVERNAME
However, I don't know how to access this path in my .inf file. Try as I might all my keys appear in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e96c-e325-11ce-bfc1-08002be10318}\001\Parameters
This is how I try to add the keys
[DRIVERNAME.NT]
...
AddReg=DRIVERNAME.AddReg
[DRIVERNAME.AddReg]
...
HKR,Parameters,MyKey,0x00010001,0x2