Hi,
I have written a IM Filter driver. Now I want to bind my IM driver
with a perticular physical NIC.
I am borrowing notify object source code from MUX sample. I modified
IM's INF file too.
INF file is:
[IMD.ndi.AddReg]
HKR, Ndi, ClsID, , {801B6F17-2293-441c-955A-C8B40D69CF8D} ;
THIS IS NEW GUID.
HKR, Ndi, ComponentDll, , imd.dll
HKR, Ndi, FilterClass, , failover
HKR, Ndi, FilterDeviceInfId, , ct_imdmp
HKR, Ndi, Service, , IMD
HKR, Ndi\Interfaces, UpperRange, , noupper
HKR, Ndi\Interfaces, LowerRange, , nolower
HKR, Ndi\Interfaces, FilterMediaTypes, , "ethernet"
;HKR, Ndi\Interfaces, FilterMediaTypes, , "ethernet, tokenring,
fddi, wan"
The new same guid is modified in IDL and RGS files.
Problem is: Whenever I install IM driver. DllMain, DllRegisterServer
methods are called but never DllGetClassObject is called. Why so?
my os is XP SP2.
Please suggest me how to solve problem.
Thanks and With Regards
Anand Choubey