Discussion:
Installing Filter driver
(too old to reply)
RSen
2007-04-19 13:02:05 UTC
Permalink
I am trying to install Filter driver using SetupAPI function as decribed in
MSDN.

Call SetupInstallFilesFromInfSection for the [upperfilter_inst] section.
Call SetupInstallServicesFromInfSection for the [upperfilter_inst.Services]
section.
Call SetupInstallFromInfSection for the [upperfilter_inst] section, once for
each class key it wants to register the upperfilt service for.

But I see only registry is getting updated. The actual driver is not get
bound to the adapters.

How to do that?
Calvin Guan
2007-04-19 19:51:46 UTC
Permalink
I'm assuming you have verified that UpperFilters value has been updated
correctly. You will also need to tear down and restart the stack to get the
filter loaded.
--
Calvin Guan
Broadcom Corporation
Connecting Everything(r)
Post by RSen
I am trying to install Filter driver using SetupAPI function as decribed in
MSDN.
Call SetupInstallFilesFromInfSection for the [upperfilter_inst] section.
Call SetupInstallServicesFromInfSection for the
[upperfilter_inst.Services]
section.
Call SetupInstallFromInfSection for the [upperfilter_inst] section, once for
each class key it wants to register the upperfilt service for.
But I see only registry is getting updated. The actual driver is not get
bound to the adapters.
How to do that?
RSen
2007-04-20 00:30:00 UTC
Permalink
Can u provide some sample code for tear down and restarting the stack?

Thanks in advance.
Post by Calvin Guan
I'm assuming you have verified that UpperFilters value has been updated
correctly. You will also need to tear down and restart the stack to get the
filter loaded.
--
Calvin Guan
Broadcom Corporation
Connecting Everything(r)
Post by RSen
I am trying to install Filter driver using SetupAPI function as decribed in
MSDN.
Call SetupInstallFilesFromInfSection for the [upperfilter_inst] section.
Call SetupInstallServicesFromInfSection for the
[upperfilter_inst.Services]
section.
Call SetupInstallFromInfSection for the [upperfilter_inst] section, once for
each class key it wants to register the upperfilt service for.
But I see only registry is getting updated. The actual driver is not get
bound to the adapters.
How to do that?
Maxim S. Shatskih
2007-04-20 10:02:24 UTC
Permalink
DEVCON

SetupDiCallClassInstaller with proper function code.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
***@storagecraft.com
http://www.storagecraft.com
Post by RSen
Can u provide some sample code for tear down and restarting the stack?
Thanks in advance.
Post by Calvin Guan
I'm assuming you have verified that UpperFilters value has been updated
correctly. You will also need to tear down and restart the stack to get the
filter loaded.
--
Calvin Guan
Broadcom Corporation
Connecting Everything(r)
Post by RSen
I am trying to install Filter driver using SetupAPI function as decribed in
MSDN.
Call SetupInstallFilesFromInfSection for the [upperfilter_inst] section.
Call SetupInstallServicesFromInfSection for the
[upperfilter_inst.Services]
section.
Call SetupInstallFromInfSection for the [upperfilter_inst] section, once for
each class key it wants to register the upperfilt service for.
But I see only registry is getting updated. The actual driver is not get
bound to the adapters.
How to do that?
RSen
2007-04-24 04:50:02 UTC
Permalink
Can u specifically tell which DIF_XXX codes to call?

Thanks in advance,
R.Senthil
Post by Maxim S. Shatskih
DEVCON
SetupDiCallClassInstaller with proper function code.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
http://www.storagecraft.com
Post by RSen
Can u provide some sample code for tear down and restarting the stack?
Thanks in advance.
Post by Calvin Guan
I'm assuming you have verified that UpperFilters value has been updated
correctly. You will also need to tear down and restart the stack to get the
filter loaded.
--
Calvin Guan
Broadcom Corporation
Connecting Everything(r)
Post by RSen
I am trying to install Filter driver using SetupAPI function as decribed
in
Post by RSen
Post by Calvin Guan
Post by RSen
MSDN.
Call SetupInstallFilesFromInfSection for the [upperfilter_inst] section.
Call SetupInstallServicesFromInfSection for the
[upperfilter_inst.Services]
section.
Call SetupInstallFromInfSection for the [upperfilter_inst] section, once for
each class key it wants to register the upperfilt service for.
But I see only registry is getting updated. The actual driver is not get
bound to the adapters.
How to do that?
Continue reading on narkive:
Loading...