PNET_PNP_EVENT not defined

I have a passthru driver in win98 but where build it
this error apear :
passthru.h(198) : error C2146: syntax error : missing ‘)’ before identifier ‘pNetPnPEvent’
passthru.h(198) : error C2081: ‘PNET_PNP_EVENT’ : name in formal parameter list illegal
passthru.h(198) : error C2061: syntax error : identifier ‘pNetPnPEvent’
passthru.h(198) : error C2059: syntax error : ‘;’
passthru.h(199) : error C2059: syntax error : ‘)’

that line 194-199 in passthru.h is :
extern
NDIS_STATUS
PtPNPHandler(
IN NDIS_HANDLE ProtocolBindingContext,
IN PNET_PNP_EVENT pNetPnPEvent
);

please help me for build that driver


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Use the Windows 2000 DDK.

-----Original Message-----
From: javad_p [mailto:xxxxx@yahoo.com]
Sent: Wednesday, July 25, 2001 12:36 AM
To: NT Developers Interest List
Subject: [ntdev] PNET_PNP_EVENT not defined

I have a passthru driver in win98 but where build it

this error apear :

passthru.h(198) : error C2146: syntax error : missing ‘)’ before
identifier ‘pNetPnPEvent’
passthru.h(198) : error C2081: ‘PNET_PNP_EVENT’ : name in formal
parameter list illegal
passthru.h(198) : error C2061: syntax error : identifier ‘pNetPnPEvent’
passthru.h(198) : error C2059: syntax error : ‘;’
passthru.h(199) : error C2059: syntax error : ‘)’

that line 194-199 in passthru.h is :

extern
NDIS_STATUS
PtPNPHandler(
IN NDIS_HANDLE ProtocolBindingContext,
IN PNET_PNP_EVENT pNetPnPEvent
);

please help me for build that driver


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com