BindAdapterHandler for WDM/ NDIS protocol driver not called

  • Thread starter Thread starter QuasiCodo
  • Start date Start date
Q

QuasiCodo

On XP, I have a WDM driver which uses the PnP mechanism to load. Once
loaded, I called NdisRegisterProtocol to register the protocol portion of
the driver with NDIS. The problem I am having is the my
BindAdapterHandler() is not being called. The PnpEventHandler() is being
called with NetPnpEvent->NetEvent set to NetEventBindsComplete (i.e. NDIS
tells me that all bindings for this protocol have been performed).

A BindsComplete indication without any BindAdapterHandler() callbacks is
what I would expect if I had not installed the protocol in the system.
However, I have a separate INF file in which I install the protocol.
BindView shows this that my protocol is installed and bound to the NIC card.

The only thing I can think of is that protocol identifier in the INF file
does not match the protocol name I gave to NdisRegisterProtocol().

Any ideas?

((&-<
 
Changing the protocol name in the NdisRegisterProtocol to the service name
in the registry worked.
 
Changing the protocol name in the NdisRegisterProtocol to the service name
in the registry worked.
 
Back
Top