Mounted Folder Examples

Examples that illustrate the mounted folder functions.

In this section


Displaying Volume Paths

C++ example shows how to display all paths for each volume and device. For each volume in the system, the example locates the volume, obtains the device name, obtains all paths for that volume, and displays the paths.

Editing Drive Letter Assignments

How to add or remove persistent drive letter assignments. These drive letter assignments persist through system shutdown.

Creating a Mounted Folder

How to create a mounted folder.

Enumerating Volume GUID Paths

How to get a volume GUID path for each local volume associated with a drive letter that is currently in use on the computer.

Deleting a Mounted Folder

How to delete a mounted folder by using the DeleteVolumeMountPoint function.