Installation Requirements for Network Filter Drivers

This topic summarizes the INF file requirements for network filter drivers. Filter drivers are supported in NDIS 6.0 and later versions. For more information about how to install filter drivers, see NDIS Filter Driver Installation.

INF File Section Status Comments

Version Section

Required

Class= NetService ClassGuid= {4D36E974-E325-11CE-BFC1-08002BE10318}

INF SourceDisksNames Section and INF SourceDisksFiles Section

Optional

No network-specific requirements.

INF DestinationDirs Section

Required

No network-specific requirements.

ControlFlags Section

Optional

No network-specific requirements.

INF Manufacturer Section

Required

No network-specific requirements.

Models Section

Required

The hw-id should consist of a provider name followed by an underscore and a manufacturer name or the product name (for example, MS_DLC).

DDInstall Section

Required

Characteristics entry:

NCF_LW_FILTER (0x40000) is set. Filter drivers must not set the NCF_FILTER (0x400) flag. The values of the NCF_Xxx flags are defined in Netcfgx.h. For more information about NCF_Xxx flags, see DDInstall Section in a Network INF File.

Set the NetCfgInstanceId entry.

DDInstall.Services Section

Optional

No network-specific requirements.

Add-registry-sections

Required

Creating the Ndi Key

The ServiceBinary entry in the service-install section of the INF file specifies the path to the binary for the filter driver.

Set the FilterType and FilterRunType . See Types of Filter Drivers.

Set the UpperRange, LowerRange, and FilterMediaTypes entries. See Specifying Filter Driver Binding Relationships.

Specify the primary service name of the filter for the CoServices attribute.

Specify the FilterClass to determine the order in a stack of modifying filters. See Configuring an INF File for a Modifying Filter Driver.

See also Configuring an INF File for a Monitoring Filter Driver, Adding Service-Related Values to the Ndi Key, and DDInstall.Services Section in a Network INF File.

Optional

Setting static parameters for the component

Requiring the Installation of Another Network Component

Adding a HelpText Value

Adding Registry Values for a Notify Object

Remove Section

Optional

INF Strings Section

Required

No network-specific requirements.