阅读:2466回复:2
关于hook_device_service,大家讨论一下
最近在学习NDIS中间层驱动,不明白为什么必须在ndis.vxd启动前
先hook_device_service?因为,ndis还没有加载进系统,如何找到 它的service-entry呢?我觉得应该是先加载ndis.vxd,然后才hook。 另外还有一点不明白,就是假如先加载了中间层driver,那么ndis.vxd是由系统自动加载呢,还是由此中间层自动进行加载。 |
|
最新喜欢:wingma...
|
沙发#
发布于:2001-05-26 15:23
哪里乱说要在NDIS加载前就HOOK的? 你看Init_Order就一清二楚了。
|
|
|
板凳#
发布于:2001-05-26 17:59
下面的文档出自:PCAUSA NDIS Pseudo-Intermediate driver<grogguide.doc>
Hooking The NDIS Protocol Driver The NDIS protocol drivers begin loading after the NDIS PIM driver has hooked the NDIS wrapper. As each NDIS protocol driver is loaded, it calls the NdisRegisterProtocol function of the NDIS wrapper. Each protocol passes a ProtocolCharacteristics table to NDIS as it registers. The ProtocolCharacteristics table includes a Name field that identifies the protocol and a table of callback function pointers defined by NDIS. 但是我认为,hook_device_service没有必要在ndis.vxd前完成hook. 我看了看init_order:确实是此imd比ndis.vxd的小。 兄弟能再解说一下么? 谢谢了!!! |
|
|