WAN Miniport Driver Build Parameters (NDIS 5.1)

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

This topics provides some information about defining build parameters for NDIS and CoNDIS WAN miniport drivers.

Add the following line to your sources file before building to identify your driver as a miniport driver.

C_DEFINES=/DNDIS_MINIPORT_DRIVER

If you are writing an NDIS WAN miniport driver that supports connections through TAPI, you must add the following line to your sources file before building to identify the TAPI version that your driver supports.

C_DEFINES=-DNDIS_TAPI_CURRENT_VERSION=0x00010003

If you are writing a CoNDIS WAN miniport driver that is an integrated miniport call manager (MCM) and that supports the CoNDIS address family type CO_ADDRESS_FAMILY_TAPI_PROXY, you must add the following line to your sources file before building to identify the TAPI version that your driver supports.

C_DEFINES=-DNDIS_TAPI_CURRENT_VERSION=0x00030000

For WAN miniport drivers, the include paths should include ndiswan.h as well as ndis.h.

If the WAN miniport driver supports connections through TAPI, the driver should also include ndistapi.h.

 

 

Send comments about this topic to Microsoft