Re: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ÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû