Re: NDIS Version question.
- From: "Thomas F. Divine" <tdivine@xxxxxxxxxxxxxxxx>
- Date: Tue, 10 Oct 2006 23:25:22 -0400
If your driver is to run on Windows 2000 and higher, build like the DDK sources file says. Your driver will actually be compatible with NDIS 5.
Of your driver is to run only on Windows XP or higher, build like the DDK sources file says. Your driver will actually be compatible with NDIS 5.1.
Thomas F. Divine, Windows DDK MVP.
http://www.pcausa.com
<DIV>"mirage2k2" <mirage2k2@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:59344B65-C08E-45A0-B7CA-A6D99BEAF6E1@xxxxxxxxxxxxxxxx</DIV>> Looking at the sources file for passthru example im driver in the 2003 ddk,
it is evident that for a w2k build ndis 4.0 will be used and for xp/2003 ndis
5.1 will be used.
I just spent some time researching the different versions of ndis and its
seems ndis 4.0 is real old and ndis 5.0 was introduced in w2k. Why then does
passthru want to be built using ndis 4.0 for w2k and not ndis 5.0?
The sources file looks like this ...
!if "$(DDK_TARGET_OS)"=="Win2K"
#
# The driver is built in the Win2K build environment
#
C_DEFINES=$(C_DEFINES) -DNDIS40_MINIPORT=1
C_DEFINES=$(C_DEFINES) -DNDIS40=1
!else
#
# The driver is built in the XP or .NET build environment
# So let us build NDIS 5.1 version.
#
C_DEFINES=$(C_DEFINES) -DNDIS51_MINIPORT=1
C_DEFINES=$(C_DEFINES) -DNDIS51=1
!endif
I am tempted to change it to ...
!if "$(DDK_TARGET_OS)"=="Win2K"
#
# The driver is built in the Win2K build environment
#
C_DEFINES=$(C_DEFINES) -DNDIS50_MINIPORT=1
C_DEFINES=$(C_DEFINES) -DNDIS50=1
!else
...
Can anyone help me out here?
.
- Follow-Ups:
- Re: NDIS Version question.
- From: Stephan Wolf [MVP]
- Re: NDIS Version question.
- Prev by Date: Re: How to write co-installer for Vista?
- Next by Date: Re: Multiple threads and blocking on I/O
- Previous by thread: Re: DrvStartDoc- with no job id
- Next by thread: Re: NDIS Version question.
- Index(es):
Relevant Pages
|
Loading