Hello,
I have two small questions about IOCTL_MOUNTMGR_QUERY_POINTS. I use
it to convert a device name into a mount point (
\Device\HarddiskVolume1 -> C: ). However, as the documentation
states, i get a MOUNTMGR_MOUNT_POINTS structure containing TWO
MOUNTMGR_MOUNT_POINT structures. The first structure contains a
GUID path “??\Volume{…}” as the SymbolicLinkName, while the
second structure contains the expected “\DosDevices\C:”.
The documentation states that if I call the IOCTL with only the
device name , i get “all associated mount points (symbolic links),
including the volume GUID pathname and the drive letters”.
The question is , can there be more drive letters to just one
device ( \Device\HarddiskVolume1 ) ? Also, in the common case of
one letter per device, can I rely on the SymbolicLinkName of the
second structure to be the one with the mount point ?
Is this the right way to create a device to mount point mapping ?
–
Best regards,
Alex mailto:xxxxx@bitdefender.com
–
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/