I need to retrieve the "Physical Device Object name" of a disk device from a user mode application on Windows. To be specific what I mean by that - this is a screenshot how you can see it through the Window Device Manager:
I have a solution now that involves a kernel driver that gets loaded and interrogated through IOCTLs. Once in kernel land, I have no trouble getting to that name. If possible, I would like to avoid using a kernel module.
Any ideas?