Functions used in volume management.
In this section
| Topic | Description |
|---|---|
| DefineDosDevice | Defines, redefines, or deletes MS-DOS device names. |
| DeleteVolumeMountPoint | Deletes a drive letter or mounted folder. |
| FindFirstVolume | Retrieves the name of a volume on a computer. |
| FindFirstVolumeMountPoint | Retrieves the name of a mounted folder on the specified volume. |
| FindNextVolume | Continues a volume search started by a call to the FindFirstVolume function. |
| FindNextVolumeMountPoint | Continues a mounted folder search started by a call to the FindFirstVolumeMountPoint function. |
| FindVolumeClose | Closes the specified volume search handle. |
| FindVolumeMountPointClose | Closes the specified mounted folder search handle. |
| GetDriveType | Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive. |
| GetLogicalDrives | Retrieves a bitmask representing the currently available disk drives. |
| GetLogicalDriveStrings | Fills a buffer with strings that specify valid drives in the system. |
| GetVolumeInformation | Retrieves information about the file system and volume associated with the specified root directory. |
| GetVolumeInformationByHandleW | Retrieves information about the file system and volume associated with the specified file. |
| GetVolumeNameForVolumeMountPoint | Retrieves a volume GUID path for the volume that is associated with the specified volume mount point ( drive letter, volume GUID path, or mounted folder). |
| GetVolumePathName | Retrieves the volume mount point where the specified path is mounted. |
| GetVolumePathNamesForVolumeName | Retrieves a list of drive letters and mounted folder paths for the specified volume. |
| QueryDosDevice | Retrieves information about MS-DOS device names. |
| SetVolumeLabel | Sets the label of a file system volume. |
| SetVolumeMountPoint | Associates a volume with a drive letter or a directory on another volume. |
The following functions are used with volume mount points (drive letters, volume GUID paths, and mounted folders).
- DeleteVolumeMountPoint
- FindFirstVolume
- FindFirstVolumeMountPoint
- FindNextVolume
- FindNextVolumeMountPoint
- FindVolumeClose
- FindVolumeMountPointClose
- GetVolumeNameForVolumeMountPoint
- GetVolumePathName
- GetVolumePathNamesForVolumeName
- SetVolumeMountPoint
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
