Training
Module
Maintain disks and volumes - Training
This module explores file system fragmentation and the tools that you can use to reduce fragmentation. Students will learn how Windows can compress files to take up less space on the hard disk.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Functions used in volume management.
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).
Training
Module
Maintain disks and volumes - Training
This module explores file system fragmentation and the tools that you can use to reduce fragmentation. Students will learn how Windows can compress files to take up less space on the hard disk.
Documentation
GetVolumePathNamesForVolumeNameW function (fileapi.h) - Win32 apps
Retrieves a list of drive letters and mounted folder paths for the specified volume. (GetVolumePathNamesForVolumeNameW)
Enumerating Volumes - Win32 apps
To make a complete list of the volumes on a computer, or to manipulate each volume in turn, you can enumerate volumes.
GetVolumeNameForVolumeMountPointW function (fileapi.h) - Win32 apps
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). (GetVolumeNameForVolumeMountPointW)