Hi there,
I want to create multiple FDOs in my AddDevice routine and assign them
to one single PDO (the one I got as parameter to AddDevice).
(My device is not a multiple function device, thus I only get one AddDevice
call).
The problem is, that the IoAttachDeviceToDeviceStack function adds any
additional FDO to the top of the device object stack (vertically).
But, I am looking for an horizontal approach, since I want to build up a
tree that branches just above the PDO. My device should be accessable
through both branches, and I only want to write one single driver binary.
Is there any function that do this job?
Thanks in advance…
Best regards
Carsten
Offhand I think you have described a ‘bus driver’. Take a look at the
toaster driver sample in the ddk. The additional device objects you create
will be ‘pdos’ not ‘fdos’. Your single driver will have to understand when
it is operating as a function driver (for the fdo you created in AddDevice
and attached to the input pdo) and when it is operating as a bus driver (for
the pdos you will create whenever you feel the urge.)
-----Original Message-----
From: Carsten Schulz [mailto:xxxxx@cityweb.de]
Sent: Tuesday, March 07, 2000 11:18 AM
To: NT Developers Interest List
Subject: [ntdev] Create multiple FDOs for one PDO
Hi there,
I want to create multiple FDOs in my AddDevice routine and assign them
to one single PDO (the one I got as parameter to AddDevice).
(My device is not a multiple function device, thus I only get
one AddDevice
call).
The problem is, that the IoAttachDeviceToDeviceStack function adds any
additional FDO to the top of the device object stack (vertically).
But, I am looking for an horizontal approach, since I want to
build up a
tree that branches just above the PDO. My device should be accessable
through both branches, and I only want to write one single
driver binary.
Is there any function that do this job?
Thanks in advance…
Best regards
Carsten
You are currently subscribed to ntdev as: xxxxx@stratus.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)