How to Develop a Connectionless NDIS Miniport Driver (Windows CE 5.0)
If your target device has a network adapter that is not directly supported by Windows CE, or you want your target device to support multiple PC Card network adapters, you must develop an NDIS miniport driver.
Hardware and Software Assumptions
- Your target device has one Ethernet card for downloading the run-time image and one for product Ethernet, and you intend to develop the NDIS miniport driver for the product Ethernet card. For more information, see Ethernet Connection Options.
- You have created a run-time image that you can use with the Microsoft® Windows® CE 5.0 Test Kit (CETK) to test your NDIS miniport driver. For more information, see How to Use the IDE to Create, Customize, and Build a Run-Time Image.
- You are familiar with downloading a run-time image to a target device. For more information, see How to Configure and Download a Run-Time Image to a CEPC.
To track your progress in the following table, select the check box next to each step.
Step | Topic | |
---|---|---|
1. Familiarize yourself with the NDIS wrapper, which is a library that you can use to develop NDIS miniport drivers and network protocol drivers. The wrapper abstracts portions of the OS and provides supporting functions. | NDIS Library Functions | |
2. Examine the NDIS miniport driver samples in %_PUBLICROOT%\Common\OAK\Drivers\Netcard, and use the techniques shown in these samples to implement your NDIS miniport driver. | NDIS Miniport Driver Samples | |
3. Add the Wired Local Area Network Catalog item to your OS design.
|
Adding an Item from the Catalog | |
4. Exclude Vmini.dll from your OS design by setting the BSP_NOSHAREETH and IMGNOSHAREETH environment variables. | Setting or Clearing an Environment Variable | |
5. Add your NDIS miniport driver to your OS design. | Adding an NDIS Miniport Driver to a Run-Time Image | |
6. Implement the NDIS miniport driver functions. | NDIS Miniport Driver Implementation | |
7. Build the run-time image. | Building a Run-Time Image | |
8. Download the run-time image to the target device. | Downloading a Run-Time Image | |
9. With the CETK, use the One-Card Network Card Miniport Driver Test or Two-Card Network Card Miniport Driver Test to test the NDIS miniport driver.
If you also want to check the network connection through the NDIS miniport driver, you can do so by browsing the Web or another type of network. You might have to configure your Internet settings to use a proxy server. |
How to Test an NDIS Miniport Driver |
See Also
How-to Topics | Miniports, Intermediate Drivers, and Protocol Drivers | Network Drivers | Tools for Debugging and Testing | Troubleshooting a Device Driver | How to Migrate a Windows-based Desktop NDIS Miniport Driver to Windows CE| Adding a Device Driver to the Catalog
Send Feedback on this topic to the authors