NDIS WDM interface mechanism

Hi all,

Scenario :-
There is a seperate WDM driver and a seperate NDIS driver.
Communication between these two is desired.

Problem :-
(1)Is IRP one of the mechanisms for the interface ?
(2) Is it necessary to have a pointer to the current device object
to allocate and handle IRPs ?
(3) If so, I wanted to know if there is a reference for the device
object in the miniport driver in the NDIS space.
(4)I observe that in the WDM driver, the AddDevice object creates an
device object. Anything similar to this does it happens in the
NDIS space?

First off try to get a copy of the W2k3 Beta DDK, there is an excellent
sample driver that is doing what you propose, if you cannot get the sample
you might send mail to Eliyas Yakub xxxxx@windows.microsoft.com since he
wrote it.

I would not use IRP’s for this. NDIS at the miniport level is not really
targeted to IRP’s, look at using a device interface from the lower driver to
the NDIS/WDM driver.

Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

----- Original Message -----
From: “Sandeep”
To: “Windows System Software Devs Interest List”
Sent: Saturday, November 29, 2003 6:34 AM
Subject: [ntdev] NDIS WDM interface mechanism

> Hi all,
>
> Scenario :-
> There is a seperate WDM driver and a seperate NDIS driver.
> Communication between these two is desired.
>
> Problem :-
> (1)Is IRP one of the mechanisms for the interface ?
> (2) Is it necessary to have a pointer to the current device object
> to allocate and handle IRPs ?
> (3) If so, I wanted to know if there is a reference for the device
> object in the miniport driver in the NDIS space.
> (4)I observe that in the WDM driver, the AddDevice object creates an
> device object. Anything similar to this does it happens in the
> NDIS space?
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@acm.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Hi Sandeep,

What you want to achoieve in there? That will tell us to say u better for the things u want to implements.

 

Good Luck,



From: “Sandeep”

>Reply-To: “Windows System Software Devs Interest List”
>To: “Windows System Software Devs Interest List”
>Subject: [ntdev] NDIS WDM interface mechanism
>Date: Sat, 29 Nov 2003 06:34:35 -0500
>
>Hi all,
>
> Scenario :-
> There is a seperate WDM driver and a seperate NDIS driver.
> Communication between these two is desired.
>
> Problem :-
> (1)Is IRP one of the mechanisms for the interface ?
> (2) Is it necessary to have a pointer to the current device object
> to allocate and handle IRPs ?
> (3) If so, I wanted to know if there is a reference for the device
> object in the miniport driver in the NDIS space.
> (4)I observe that in the WDM driver, the AddDevice object creates an
> device object. Anything similar to this does it happens in the
> NDIS space?
>
>
>—
>Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com


BharatMatrimony.com. India’s premium matrimonial website.