passthru驅動安裝

     passthru作爲學習NDIS的經典例程,起着非常重要的作用,下面結合在網上查到的相關資料對其驅動安裝進行介紹。

     原始的解決方法來自於此貼http://topic.csdn.net/u/20110218/16/90f347c9-62ff-43ab-97d8-eb87b12fab01.html,在此表示感謝。

 解決方法:(來自於WDK中的幫助文檔)

Installation General

Passthru is installed as a service (called “Passthru Driver” in the supplied INFs/notification object).

Two INF files are needed rather than one because Passthru is installed both as a protocol and a miniport.

End User

1、Prepare an installation directory that contains these files: netsf.inf, netsf_m.inf, and passthru.sys. 
2、In Control Panel, open Network Connections. 
3、Right-click the relevant Local Area Connection icon and click Properties. 
4、Click Install, click Service, click Add, and then click Have Disk. 
5、Browse to the drive and directory that contain the files from step 1, and then click OK. 
6、Select “Passthru Driver” and click OK. This action should install the Passthru driver. 
7、Click OK or Yes each time the system prompts with a warning regarding installation of unsigned files. This step is necessary because binaries that are generated through the WDK build environment are not signed. 


Alternate Installation

You can install this sample programmatically by using the INetCfg APIs.

要注意要把netsf.inf, netsf_m.inf, passthru.sys這三個文件放到一起!

     注意和一般的服務安裝不太一樣,通過網絡連接安裝上去,終於在列表中看到了passthru的名字。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章