大网数据广告活动
磁盘与文件系统

Volume Management Functions

· 52CE 我爱测

Functions used in volume management.

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).

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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。