Compile error in NDIS IM driver

hi, all
i am trying to modify NDIS intermediate driver
(ntddk\src\network\ndis\passthru )
what i am trying to do is adding user interface to that ie, a user amode
application should be able to send IRP’s ( by createfile(),readfile() etc…)
i just added some dispatch routine like
NTSTATUS
xxdispatch(
IN PDEVICE_OBJECT pdev,
IN PIRP Irp
);
it’s giving a compiler error like" ‘PIRP’ in formal parameter list is illegal
" in the header file

i have included ntddk.h also

can any one pl tell me what is this error ?

thanks
/m


Get free email and a permanent address at http://www.netaddress.com/?N=1


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

I got the same problem in ndis connection oriented miniport driver.

I solved the problem by the flags BINARY_COMPATIBLE , NDIS_WDM in sources.

BINARY_COMPATIBLE=1 AND NDIS_WDM=1
or
Just
BINARY_COMPATIBLE=0

I didnt get any compilation errors by the above combination of
flags.

By just BINARY_COMPATIBLE=1 I got similar compilation errors.

Chakrapani.

----- Original Message -----
From: “shiva mallu”
To: “NT Developers Interest List”
Sent: Friday, April 27, 2001 3:39 PM
Subject: [ntdev] Compile error in NDIS IM driver

hi, all
i am trying to modify NDIS intermediate driver
(ntddk\src\network\ndis\passthru )
what i am trying to do is adding user interface to that ie, a user amode
application should be able to send IRP’s ( by createfile(),readfile() etc…)
i just added some dispatch routine like
NTSTATUS
xxdispatch(
IN PDEVICE_OBJECT pdev,
IN PIRP Irp
);
it’s giving a compiler error like" ‘PIRP’ in formal parameter list is
illegal
" in the header file

i have included ntddk.h also

can any one pl tell me what is this error ?

thanks
/m

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


You are currently subscribed to ntdev as: xxxxx@procsys.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

Please use the Passthru sample of beta2 XP DDK. It shows how to provide
an ioctl interface using NdisMRegisterDevice.

Where is Beta2 XP DDK?

It will be available in the next MSDN update or if you are a MSDN
subscriber you download from secure MSDN site. It will not be freely
available on DDK website.

-Eliyas

-----Original Message-----
From: shiva mallu [mailto:xxxxx@usa.net]
Sent: Friday, April 27, 2001 3:09 AM
To: NT Developers Interest List
Subject: [ntdev] Compile error in NDIS IM driver

hi, all
i am trying to modify NDIS intermediate driver
(ntddk\src\network\ndis\passthru )
what i am trying to do is adding user interface to that ie, a user amode
application should be able to send IRP’s ( by createfile(),readfile()
etc…)
i just added some dispatch routine like
NTSTATUS
xxdispatch(
IN PDEVICE_OBJECT pdev,
IN PIRP Irp
);
it’s giving a compiler error like" ‘PIRP’ in formal parameter list is
illegal
" in the header file

i have included ntddk.h also

can any one pl tell me what is this error ?

thanks
/m


Get free email and a permanent address at http://www.netaddress.com/?N=1


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