The name won’t tell you what bus the volume is connected to. There is a storage IOCTL that will tell you the bus though (don’t know it offhand).
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of f
Sent: Wednesday, November 03, 2004 7:24 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] RE: [ntdev] [ntdev] How to get device’s name?
Hi,Holan
Thank you very much for your response!
In fact , I want to get device name or pdo’s name for judging where a volume
device from.
For PDOs, you can use IoGetDeviceObjectProperty, otherwise there is no
documented way. If you already have a PDEVICE_OBJECT, why do you need its
name?
–http://www.eyou.com
–?ȶ??ɿ??ĵ??? ???ʼ? ?ƶ???ǩ ??? ???洢…???δ??
–http://vip.eyou.com
–???¼???VIP??? ע???û???
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com