Here is my problem: 3 drivers, 1 Bus driver, hence forward referred to as a
widget, and 2 (maybe more) FDOs to be referred to as a Red Widget (RW) and a
Green Widget (GW). Currently both GW and RW use IoAttachDeviceObjecttoStack,
but if both of them are loaded, then the second one to load gets the DO for
the other colored widget and not the DO for the widget. So, if GW attaches
first, and RW second, then RW gets the DO for GW and all widget sees is a
muddy brown color instead of red or green, causing the engineer to see an
awful lot of Blue, not associated with either colored widget.
Should RW or GW best use IoGetDeviceObjectPointer? Would that ensure that
Widget sees Red or Green, not brown, and the engineer would not then see
blue? Does using IoGetDeviceObjectPointer instead of
IoAttachDeviceObjecttoStack violate the rules of PnP?
Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com