Hi all,
Thankz Vitaly for suggesting NdisMRegisterDevice. In the DDK it says
that any Intermediate driver or miniport driver that wants to create a
stand-alone device object should use this function. But, when I used this
function it is returning a status of NDIS_STATUS_NOT_SUPPORTED. This is
returned if the caller is not a miniport driver. Now this seems like an
ambiguity in the DDK documentation.
I’ve also tried creating a device object using IoCreateDevice, but the
IRPs are not getting routed to this device object.
Note: I am want to create a stand alone Device Object in Ndis IM driver.
Is there a way I can do this.???.
Regards,
Mohasin
==================================================
Syed Mohasin Zaki
Engineer-Software
Wipro Technologies
475A, Old Mahabalipuram Road,
Sholinganallur,
Chennai - 600 119. INDIA
Tel : 91-44-4500200 to 212 Extn:2284
Fax : 91-44-4500250
xxxxx@wipro.com
www.wipro.com
World’s First SEI CMM LEVEL5 Software Services Company
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
Hi Mohasin
I have an Ndis IM driver that uses its own seperate IO device for handling
custom IOCTL calls.
from within DriverEntry it sets up with a call as follows
IoCreateDevice (DriverObject,
0,
&IMName,
FILE_DEVICE_UNKNOWN,
0,
FALSE,
&DeviceObject);
Then symbolically linking to the real device, I am not sure if this is what
you wan’t. but the IMSAMP sample has a good example of this, it also works
with 2K passthru example
-----Original Message-----
From: Mohasin Zaki Syed
To: NT Developers Interest List
Date: Thursday, May 24, 2001 12:27 PM
Subject: [ntdev] Regarding NdisMRegiterDevice.
>Hi all,
>
> Thankz Vitaly for suggesting NdisMRegisterDevice. In the DDK it
says
>that any Intermediate driver or miniport driver that wants to create a
>stand-alone device object should use this function. But, when I used this
>function it is returning a status of NDIS_STATUS_NOT_SUPPORTED. This is
>returned if the caller is not a miniport driver. Now this seems like an
>ambiguity in the DDK documentation.
>
> I’ve also tried creating a device object using IoCreateDevice, but the
>IRPs are not getting routed to this device object.
>
>Note: I am want to create a stand alone Device Object in Ndis IM driver.
>
>Is there a way I can do this.???.
>
>Regards,
>Mohasin
>
>==================================================
>Syed Mohasin Zaki
>Engineer-Software
>
>Wipro Technologies
>475A, Old Mahabalipuram Road,
>Sholinganallur,
>Chennai - 600 119. INDIA
>Tel : 91-44-4500200 to 212 Extn:2284
>Fax : 91-44-4500250
>xxxxx@wipro.com
>www.wipro.com
>World’s First SEI CMM LEVEL5 Software Services Company
>==================================================
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@bemac.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
Make sure NdisMRegisterDevice is called during the miniport
portion initialization of your driver. On DriverEntry
NDIS IM driver might appear as a protocol driver, so NdisMxxx
would fail.
On 05/24/01, ““Mohasin Zaki Syed” ” wrote:
> Hi all,
>
> Thankz Vitaly for suggesting NdisMRegisterDevice. In the DDK it says
> that any Intermediate driver or miniport driver that wants to create a
> stand-alone device object should use this function. But, when I used this
> function it is returning a status of NDIS_STATUS_NOT_SUPPORTED. This is
> returned if the caller is not a miniport driver. Now this seems like an
> ambiguity in the DDK documentation.
>
> I’ve also tried creating a device object using IoCreateDevice, but the
> IRPs are not getting routed to this device object.
>
> Note: I am want to create a stand alone Device Object in Ndis IM driver.
>
> Is there a way I can do this.???.
>
> Regards,
> Mohasin
>
> ==================================================
> Syed Mohasin Zaki
> Engineer-Software
>
> Wipro Technologies
> 475A, Old Mahabalipuram Road,
> Sholinganallur,
> Chennai - 600 119. INDIA
> Tel : 91-44-4500200 to 212 Extn:2284
> Fax : 91-44-4500250
> xxxxx@wipro.com
> www.wipro.com
> World’s First SEI CMM LEVEL5 Software Services Company
> ==================================================
>
>
> —
> 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
—
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 just follow the Passthru or MUX sample of WinXP DDK. It shows how
to use NdisMRegiterDevice function.
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