Add-registry-sections in a Network INF File
An INF file contains one or more add-registry-sections for each component that it installs. An add-registry-section adds keys and values to the registry. The DDInstall section of an INF file contains an AddReg directive that references one or more add-registry-sections. For more information about the add-registry-section and the AddReg directive, see INF AddReg Directive.
Adding Keys and Values to Instance Keys
One or more add-registry-sections can add keys and values to the instance key for a component to accomplish any of the following:
Set static parameters for a component -- that is, configuration parameters that cannot be modified through a user interface. For more information, see Setting Static Parameters.
Specify the number of endpoints (also known as channels, circuits or bearer channels) for a WAN adapter. For more information, see Specifying WAN Endpoints for a WAN Adapter.
Specify keys and values for an ISDN adapter. For more information, see Specifying ISDN Keys and Values for an ISDN Adapter.
Require the installation of another network component. For more information, see Requiring the Installation of Another Network Component.
Specify values that support a custom properties sheet for a network adapter. For more information, see Specifying Custom Property Pages for Network Adapters.
Adding Keys and Values to a NetClient Component
An add-registry-section in an INF file for a NetClient component must add a NetworkProvider key to the service key for that component. The NetworkProvider key has two values: a Name that specifies the name of the network provider, and a ProviderPath that specifies the full path to the network provider DLL. For more information, see Specifying the Name and Provider Path for a NetClient Component.
NoteNetClient components are deprecated in Windows 8.1, Windows Server 2012 R2, and later.
Creating the Ndi Key
Each network INF file must contain at least one add-registry-section that adds an Ndi key for the component installed by the file. The Ndi key is a network-specific key that is added to the instance key for the component. The keys and values that are added to the Ndi key vary according to the type of network component being installed and its capabilities. The Ndi key specifies the following:
HelpText value for a NetTrans, NetClient, or NetService component. For more information, see Adding a HelpText Value.
Values for a notify object. For more information, see Adding Registry Values for a Notify Object.
Service-related values. For more information, see Adding Service-Related Values to the Ndi Key.
Binding interfaces. For more information, see Specifying Binding Interfaces.
Adapter configuration parameters for the Advanced page. For more information, see Specifying Configuration Parameters for the Advanced Properties Page.
Bundle membership. For more information, see Specifying Bundle Membership.
For a list of Ndi registry keys and values that are available in Windows 95/98/Me but not used in Windows 2000 and later versions, see Ndi Values and Keys Not Used in Windows 2000 and Later Versions.