Hi,
I want to write a driver for a card with two identical functions,
then I want to access each function from application. If I use same driver
for both functions, the symbolic links will be same, so how application
can differentiate the functions?
Thank You
sudha
The symbolic links will not be the same as each device object will have its
own unique symbolic link.
Applications can enumerate your devices using either PnP enumeration
routines (See the setupDi* functions,) or in the case where you are
explicitly creating symbolic links, through some naming convention of your
own design. (MyDev0, MyDev1, …, MyDevN).
=====================
Mark Roddy
-----Original Message-----
From: Sudha Gopakumar [mailto:xxxxx@necelam.com]
Sent: Monday, October 27, 2003 12:40 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Multifunction device
Hi,
I want to write a driver for a card with two identical
functions, then I want to access each function from
application. If I use same driver for both functions, the
symbolic links will be same, so how application can
differentiate the functions?
Thank You
sudha
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
No, the symlinks will be different, and there will be 2 device objects.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Sudha Gopakumar”
To: “Windows System Software Devs Interest List”
Sent: Monday, October 27, 2003 8:39 PM
Subject: [ntdev] Multifunction device
> Hi,
>
> I want to write a driver for a card with two identical functions,
> then I want to access each function from application. If I use same driver
> for both functions, the symbolic links will be same, so how application
> can differentiate the functions?
>
>
> Thank You
> sudha
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com