Translating DeviceObject to HarddiskVolume# name or Drive Letter

I have a Device Object address in a filter driver that I need to
translate to a name like “\Device\HarddiskVolume1” or “??\C:”.

This is from within an upper filter driver on that device.

I have scoured the docs and the WEB and not had luck with figuring
this out. I see how the DISKPERF sample gets a \Device\Harddisk#\Partition#
name, but that isn’t any help because that is NOT the same device level
that I am filtering.

Any ideas??? Also a sample code snippet would really be appreciated,
but just ideas would also be helpful.

thanks, Rick…