http://www.microsoft.com/whdc/driver/wdf/WDF_Port.mspx

-Eliyas

Re: WDM to KMDF Porting Guide by Gianluca

Gianluca
Wed Sep 13 03:57:21 CDT 2006

The porting guide says that it's possible to port NDIS miniports and
protocol drivers.

Is it possible to use KMDF for NDIS intermediate drivers (which are a sort
of combination of a miniport and protocol)??

GV

"Eliyas Yakub [MSFT]" <eliyasy@online.microsoft.com> wrote in message
news:eCtDjwu1GHA.4796@TK2MSFTNGP03.phx.gbl...
> http://www.microsoft.com/whdc/driver/wdf/WDF_Port.mspx
>
> -Eliyas
>



Re: WDM to KMDF Porting Guide by Eliyas

Eliyas
Wed Sep 13 09:17:14 CDT 2006

No. You use KMDF to replace only the WDM edge of your driver. In an IM
driver, there is no WDM edge. Both top and bottom edge is NDIS.

-Eliyas

"Gianluca Varenni" <gianluca.varenni@cacetech.com> wrote in message
news:%23MmhiKx1GHA.2176@TK2MSFTNGP04.phx.gbl...
> The porting guide says that it's possible to port NDIS miniports and
> protocol drivers.
>
> Is it possible to use KMDF for NDIS intermediate drivers (which are a sort
> of combination of a miniport and protocol)??
>
> GV
>
> "Eliyas Yakub [MSFT]" <eliyasy@online.microsoft.com> wrote in message
> news:eCtDjwu1GHA.4796@TK2MSFTNGP03.phx.gbl...
>> http://www.microsoft.com/whdc/driver/wdf/WDF_Port.mspx
>>
>> -Eliyas
>>
>
>



Re: WDM to KMDF Porting Guide by Gianluca

Gianluca
Wed Sep 13 10:38:41 CDT 2006


"Eliyas Yakub [MSFT]" <eliyasy@online.microsoft.com> wrote in message
news:OhxHP9z1GHA.480@TK2MSFTNGP06.phx.gbl...
> No. You use KMDF to replace only the WDM edge of your driver. In an IM
> driver, there is no WDM edge. Both top and bottom edge is NDIS.

But the usual "third" edge (i.e. the one interfacing with the app/other
modules) can be KMDF instead of WDM with no problems (but probably there are
no samples, considering the current passthru one doesn't have the "third
edge").

Thanks
GV


>
> -Eliyas
>
> "Gianluca Varenni" <gianluca.varenni@cacetech.com> wrote in message
> news:%23MmhiKx1GHA.2176@TK2MSFTNGP04.phx.gbl...
>> The porting guide says that it's possible to port NDIS miniports and
>> protocol drivers.
>>
>> Is it possible to use KMDF for NDIS intermediate drivers (which are a
>> sort of combination of a miniport and protocol)??
>>
>> GV
>>
>> "Eliyas Yakub [MSFT]" <eliyasy@online.microsoft.com> wrote in message
>> news:eCtDjwu1GHA.4796@TK2MSFTNGP03.phx.gbl...
>>> http://www.microsoft.com/whdc/driver/wdf/WDF_Port.mspx
>>>
>>> -Eliyas
>>>
>>
>>
>
>



Re: WDM to KMDF Porting Guide by Eliyas

Eliyas
Thu Sep 14 14:31:32 CDT 2006

By third edge you mean the private ioctl interface thru control-device. No
you can't do that with KMDF. Private ioctl interface can be provided only by
the edge that owns your driver dispatch table. In the IM case, NDIS owns it.
Exactly for this reason, when you write NDIS-WDF driver, you have to use
NdisRegisterDevice to create control-device.

--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/driver/tips/default.mspx