

You can repeat the installation to install more than one instance of the miniport. To test the miniport driver, install more than one miniport driver instance. This "hub" indicates the incoming send packets to all of the virtual miniport instances.

If there are multiple virtual miniport instances, the instances behave as if they were multiple network interface cards (NICs) plugged into a single Ethernet hub. If a single instance of the virtual miniport exists, it simply drops the send packets and completes the send operation successfully. This sample driver demonstrates an NDIS virtual miniport driver. In the Command Prompt, type the following command, and then press ENTER: netsh wlan set hostednetwork modeallow. To do so, follow: Press Windows + X keys on the keyboard, click Command Prompt (Admin). The driver can be installed either manually using the Add Hardware wizard as a root enumerated virtual miniport driver or on a virtual bus (like toaster bus). Step 1: Make sure that you have enable the Microsoft Wi-Fi miniport adapter on your device. The NDIS Virtual Miniport Driver sample illustrates the functionality of an NDIS miniport driver without requiring a physical network adapter.īecause the driver does not interact with any hardware, it makes it easier to understand the miniport interface and the usage of various NDIS functions without the clutter of hardware-specific code that is normally found in a fully functional driver.
