Share via


Prepare Build Files for NDIS 6.0 (Compact 2013)

3/26/2014

When you convert NDIS 5.x driver source code files to work with NDIS 6.0, you must change your Sources file to define the constant NDIS60_MINIPORT rather than NDIS51_MINIPORT. For example, your CDEFINES line should look similar to the following code:

CDEFINES=$(CDEFINES) -DNDIS_MINIPORT_DRIVER -DNDIS60_MINIPORT=1

This definition instructs the build system that you are building an NDIS 6.0 miniport driver. For more information about building device drivers, see Build and Test Your Device Driver.

See Also

Concepts

Migrate Miniport Driver Functionality to NDIS 6.0