How to get the device name of drive C in dybamic disk?

Hi all,

In win32 application, I want to get the device name of drive C in
dynamic disk (such as
“Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockVolume1”) by call function
QueryDosDevice, but it returned with
“Device\HarddiskDmVolumes\ProtaleDg0\Volume1”, it is a symboliclink of the
device; on the contory, if the drive C is in basic disk, QueryDosDevice will
return the correct one – “Device\HarddiskVolume1”. Any ideas?

Thanks in advance!

– Protale