Can We Use Device Interfaces And Dos Device Names Of The Same Driver For Opening The device handle

Hi all,
I just read http://www.osronline.com/article.cfm?id=507
article
suddenly one question comes in my mind that i wan to clarified
.

The question i have is if suppose there are two driver belong to
two
different class.

for example

USB function driver in which i
am using Device Interfaces as well as device
names.

second driver
belong to network class say ndiswdm miniport driver

can i open the handle
by using the device name in the ndiswdm miniport
driver
and guid interface
for opening the handle from user mode application and
vice versa.

You
can consider the class driver according to ur convenient its not
neccessarly
to be usb or ndiswdm miniport driver.

Regards


Post free property ads on Yello Classifieds now! www.yello.in
http://ss1.richmedia.in/recurl.asp?pid=221

Either name will work, they are both symbolic links to the same device
object.

On Fri, Feb 22, 2008 at 2:07 PM, nayan kumar
wrote:

> Hi all,
> I just read http://www.osronline.com/article.cfm?id=507article
> suddenly one question comes in my mind that i wan to clarified .
>
> The question i have is if suppose there are two driver belong to two
> different class.
>
> for example
>
> USB function driver in which i am using Device Interfaces as well as
> device
> names.
>
> second driver belong to network class say ndiswdm miniport driver
>
> can i open the handle by using the device name in the ndiswdm miniport
> driver
> and guid interface for opening the handle from user mode application and
> vice versa.
>
> You can consider the class driver according to ur convenient its not
> neccessarly to be usb or ndiswdm miniport driver.
>
> Regards
>
> ------------------------------
> Detailed profiles 4 marriage! Only at Shaadi.com http:</http:> Try
> it! http:
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>


Mark Roddy</http:>

You made quite a bad example with miniport. NDIS miniport drivers are accessed by non-NDIS components either via WMI, or via standalone device object that miniport driver can register (one object for all instances of adapter)- you cannot arrive to miniport itself by CreateFile() call…

Anton Bassov