Mount Points
NT 5.0 allows one file system to be mounted at a mount point within another. Managing mount points is generally an administrative function, but they can also be managed programmatically.SetVolumeMountPoint mounts a drive (the second argument) at the point specified by the first argument. For example:
SetVolumeMountPoint ("C:\\mycd\\", "D:\\");
puts the D: drive (often the CD drive on a personal system) under the mycd directory (the mount point) on the C: drive. Note how the pathnames all end with a backslash. The path C:\mycd\memos\book.doc then corresponds to D:\memos\book.doc.You can mount multiple file systems at a single mount point. Use DeleteMountPoint to reverse the process.GetVolumePathName returns the root mount point of an absolute or relative path or file name. GetVolumeNameForVolumeMountPoint, in turn, gives the volume name, such as C:\, corresponding to a mount point.