Home › Forums › Discussions › General › Hooking adapter functions on XP sp2 › Reply To: Hooking adapter functions on XP sp2
July 28, 2006 at 8:17 am
#6103
So, I tried hooking SendCompleteHandler inside NDIS_MNIPORT_BLOCK in MyMiniportInitialize just before I forward the call to the adapter, but, it does not seem to work. I mean my function is not invoked…
SendCompleteHandler seems to be initialized by NDIS after calling miniport InitializeHandler (and your MyMiniportInitialize), that is why your hook does not work.
P.S. You can apply your hook on first SendHandler invoked, an example.