自己開發了一個網路驅動,基于NDIS框架開發的,可以在網卡的屬性界面展示自己產品的名字
領導要求點擊自己網卡的名字之后可以像點擊TCP/IP一樣,彈出自己的配置視窗;
情況如圖:
點擊TCP/IP的網路協議,屬性是可以點擊的,點擊之后展示TCP/IP 4 的配置界面

點擊TCP/IP 4屬性之后展示的配置界面

自己的網卡驅動名字點擊之后期望屬性按鈕可點,并且能展示自己的配置界面

圖中只是拿VMVare的驅動做了一個例子;
曾嘗試過在注冊表中修改,但注冊表中只找到了一些描述相關的字符更改,搞了幾天,還是沒有找到最終哪里可以更改;
感徑訓是在注冊表中進行控制,求大佬指點
uj5u.com熱心網友回復:
自己頂一下,開發的是一個網卡驅動,基于ndis,需要使用Windows下網卡屬性界面點擊自己協議后,屬性按鈕可用,點擊之后關聯自己的配置uj5u.com熱心網友回復:
#本帖移至驅動開發板塊uj5u.com熱心網友回復:
沒人回復自己頂一下uj5u.com熱心網友回復:
Understanding the Notify Object FrameworkA Notify Object is a COM server dll which is used by the Network class installer and Network control panel application. Notify Objects are installed for a network component based on entries made to the .inf file for the network component. Protocol and intermediate drivers can use a Notify Object to display properties in the network control panel for the user to configure. Generic Intermediate drivers are required to use a Notify Object to control the binding relationships external to the driver and to install upper edge virtual adapters that the driver exposes. For an Intermediate Filter driver, this is handled by the system. Notify Objects consist of various optionally implemented COM interfaces providing network subsystem callbacks for various events; network installation, network setup, network binding notifications, and to display properties in the UI. The Notify Object is given access to the Network Configuration Subsystem through COM interfaces. See the DDK reference for details about the Notify Object.
The UML class diagram below depicts the basic relationships between the DriverNetworks Notify Object framework classes, Notify Object Interfaces, ATL (active template library) COM classes, and classes implemented by the driver writer. The framework provides wrapper classes around the COM interfaces to simplify writing a Notify Object. The classes provided by the driver writer appear in yellow. The classes provided by the framework are shown in white. The COM interfaces implemented by the Notify Object are shown in green. Active Template Library (ATL) classes are shown with a grey background.
uj5u.com熱心網友回復:
摘自DriverNetworks的Help檔案。手頭有,就發了。沒有仔細去找NDIS的檔案,關鍵字就是"Notify Object"。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/100097.html
標籤:驅動開發/核心開發
