Hi All,
I just tried to install XP DDK’s sample passthru on my windows 2000
professional. It gives follwing error:
“Couldn’t locate entry point NdisQueryPendngIOCount in driver NDIS.sys” ?
I see in the protocol.c, NdisQueryPendngIOCount inside
#ifdef NDIS51
#else
#endif
so i can interpret from here that i have newer ddk but older os (2k
professional).
Am I on the right track? If yes, how to solve this problem.
Amit Manocha
To use the sample on Win2K, update the ‘sources’ file to define NDIS50 and
rebuild your driver.
–
-Eliyas
This posting is provided “AS IS” with no warranties, and confers no rights.
“Amit Manocha” wrote in message
news:xxxxx@ntdev…
>
> Hi All,
>
> I just tried to install XP DDK’s sample passthru on my windows 2000
> professional. It gives follwing error:
> “Couldn’t locate entry point NdisQueryPendngIOCount in driver NDIS.sys” ?
>
> I see in the protocol.c, NdisQueryPendngIOCount inside
>
> #ifdef NDIS51
> #else
> #endif
>
> so i can interpret from here that i have newer ddk but older os (2k
> professional).
> Am I on the right track? If yes, how to solve this problem.
>
> Amit Manocha
>
>
>
>
Thanks Eliyas,
I made following changes in passthru\driver\SOURCES:
Changed
C_DEFINES=$(C_DEFINES) -DNDIS51_MINIPORT=1
C_DEFINES=$(C_DEFINES) -DNDIS51=1
TO
C_DEFINES=$(C_DEFINES) -DNDIS50_MINIPORT=1
C_DEFINES=$(C_DEFINES) -DNDIS50=1
It gives following compilation error:
error C2651: /DNDIS51_MINPORT=1 specified for precompiled header but not for
current compile.
Amit
“Eliyas Yakub” wrote in message news:xxxxx@ntdev…
>
> To use the sample on Win2K, update the ‘sources’ file to define NDIS50 and
> rebuild your driver.
>
> –
> –
> -Eliyas
> This posting is provided “AS IS” with no warranties, and confers no
rights.
>
>
> “Amit Manocha” wrote in message
> news:xxxxx@ntdev…
> >
> > Hi All,
> >
> > I just tried to install XP DDK’s sample passthru on my windows 2000
> > professional. It gives follwing error:
> > “Couldn’t locate entry point NdisQueryPendngIOCount in driver NDIS.sys”
?
> >
> > I see in the protocol.c, NdisQueryPendngIOCount inside
> >
> > #ifdef NDIS51
> > #else
> > #endif
> >
> > so i can interpret from here that i have newer ddk but older os (2k
> > professional).
> > Am I on the right track? If yes, how to solve this problem.
> >
> > Amit Manocha
> >
> >
> >
> >
>
>
>
>
> It gives following compilation error:
error C2651: /DNDIS51_MINPORT=1 specified for precompiled header but not
for
current compile.
Remove the *.pch file and do a build -c should do it.
Loren
Thanks a lot Loren, it works.
Amit Manocha
“Loren Wilton” wrote in message news:xxxxx@ntdev…
>
> > It gives following compilation error:
> > error C2651: /DNDIS51_MINPORT=1 specified for precompiled header but not
> for
> > current compile.
>
> Remove the *.pch file and do a build -c should do it.
>
> Loren
>
>
>
>