Compartilhar via


Adding an NDIS Miniport Driver to a Run-Time Image (Windows CE 5.0)

Send Feedback

Integrate your NDIS miniport driver with your OS image build by editing various OS image configuration files.

To add an NDIS miniport driver to a run-time image

  1. Add a directory for your NDIS miniport driver in %_WINCEROOT%\Platform\%_TGTPLAT%\Drivers.

  2. Add a Makefile file to the directory containing your NDIS miniport driver.

    The following code sample shows the contents of every Makefile file.

    !INCLUDE $(_MAKEENVROOT)\makefile.def
    
  3. Add a module-definition (.def) file to the directory containing your NDIS miniport driver.

    For example NDIS miniport .def files, navigate to any subdirectory of %_PUBLICROOT%\Common\OAK\Drivers\Netcard. For more information, see Module-Definition File.

  4. Add this directory to the Dirs file in %_WINCEROOT%\Platform\%_TGTPLAT%\Drivers.

  5. Add a Sources file to the directory containing your NDIS miniport driver.

    For example Sources files, navigate to any subdirectory of %_PUBLICROOT%\Common\OAK\Drivers\Netcard. For more information, see Sources File.

  6. Add the dynamic-link library for your NDIS miniport to the MODULES section of the Project.bib file.

    For more information, see MODULES Section.

  7. Add registry keys for your NDIS miniport driver to the Project.reg file.

    For example registry keys, see the HKEY_LOCAL_MACHINE\Comm\Miniport and corresponding HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\Miniport registry keys. Miniport represents the name of your network adapter. If your NDIS miniport driver is for a PC Card network adapter, see the HKEY_LOCAL_MACHINE\Drivers\PCMCIA\PnpId registry key. PnpId is the Plug and Play identifier for the PC Card network adapter. The BusNumber and BusType registry keys are mandatory. You can add other device or driver specific parameters if needed.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.