Partager via


Specifying Virtual WiFi Bus Dependencies

Important  The Native 802.11 Wireless LAN interface is deprecated in Windows 10 and later. Please use the WLAN Device Driver Interface (WDI) instead. For more information about WDI, see WLAN Universal Windows driver model.

 

The INF file for an 802.11 miniport driver that supports Virtual WiFi must declare its dependency on the Virtual WiFi Bus. To do this, the INF file must use the Include and Needs INF entries to import specifications for the Virtual WiFi Bus from Netvwifibus.inf. Starting with NDIS 6.20 (Windows 7), this INF file is included in the default installation of Windows.

Within the INF file for a 802.11 miniport driver, the Include and Needs INF entries must be specified in the Ndi keys of the INF file for all Plug and Play (PnP) identifiers that support Virtual WiFi.

The following is an example of how these INF entries would be specified within the INF file.

[model.ndi.NT$ARCH$]
Include=netvwifibus.inf
Needs=VWiFiBus.CopyFiles

[model.ndi.NT$ARCH$.Services]
Include=netvwifibus.inf
Needs=VWiFiBus.Services
 
[model.ndi.NT$ARCH$.HW]
Include=netvwifibus.inf
Needs=VWiFiBus.PnPFilterRegistration.HW

Important

Starting in Windows 10, the [VWiFiBus.PnPFilterRegistration] section has been renamed to [VWiFiBus.PnPFilterRegistration.HW].

For more information about the Ndi key, see Creating the Ndi Key.

For more information about the structure of a network INF file, see Sections in a Network INF File.