INF files for NetAdapterCx client drivers

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1809.

INF files for NetAdapterCx client drivers build on top of standard network INF files, with some additional keywords specific to NetAdapterCx.

For more information about standard network INF files, see Creating Network INF Files. For more information about base INF files, see INF File Sections and Directives.

The following table describes the new INF keywords in NetAdapterCx.

New network keyword INF file section Optional or required Description
*IfConnectorPresent Device.NT Required

A boolean value that indicates if a connector is present. Set this keyword to 1, or TRUE, if there is a physical adapter.

Note Replaces the IfConnectorPresent field from the NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES structure.

*ConnectionType Device.NT Required A NET_IF_CONNECTION_TYPE value that specifies the NDIS network interface connection type.
*DirectionType Device.NT Required A NET_IF_DIRECTION_TYPE value that specifies the NDIS network interface direction type.
*AccessType Device.NT Required A NET_IF_ACCESS_TYPE value that specifies the NDIS network interface access type.
*HardwareLoopback Device.NT Required

A boolean value that indicates if the network interface card (NIC) has hardware loopback support.

Note Setting this keyword to 1, or TRUE, is the equivalent of not setting the NDIS_MAC_OPTION_NO_LOOPBACK flag in the MacOptions field of the NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES structure.

NumberOfNetworkInterfaces Device.NT Optional Specifies how many network interfaces the NIC supports. Required only if the NIC supports more than one network interface per device.

For example:

[Device.NT]
CopyFiles=Drivers_Dir

; Existing network keywords
*IfType       = 6
*MediaType     = 0
*PhysicalMediaType = 14

; New network keywords
*IfConnectorPresent = 1     ; BOOLEAN
*ConnectionType   = 1       ; NET_IF_CONNECTION_TYPE
*DirectionType   = 0        ; NET_IF_DIRECTION_TYPE
*AccessType     = 2         ; NET_IF_ACCESS_TYPE
*HardwareLoopback  = 0      ; BOOLEAN
NumberOfNetworkInterfaces = 11