磁碟區管理功能
磁碟區管理中使用的函式。
在本節中
主題 | 描述 |
---|---|
DefineDosDevice |
定義、重新定義或刪除 MS-DOS 裝置名稱。 |
DeleteVolumeMountPoint |
刪除驅動器號或掛接的資料夾。 |
FindFirstVolume |
擷取電腦上的磁碟區名稱。 |
FindFirstVolumeMountPoint |
擷取指定磁碟區上掛接的資料夾名稱。 |
FindNextVolume |
繼續呼叫 findFirstVolume 函式所啟動的磁碟區搜尋。 |
FindNextVolumeMountPoint |
繼續呼叫 FindFirstVolumeMountPoint 函式所啟動的掛接資料夾搜尋。 |
FindVolumeClose |
關閉指定的磁碟區搜尋句柄。 |
FindVolumeMountPointClose |
關閉指定的掛接資料夾搜尋句柄。 |
GetDriveType |
判斷磁碟驅動器是否為卸載式、固定、CD-ROM、RAM 磁碟或網路驅動器機。 |
GetLogicalDrives |
擷取代表目前可用磁碟驅動器的位掩碼。 |
GetLogicalDriveStrings |
以指定系統中有效磁碟驅動器的字串填入緩衝區。 |
GetVolumeInformation |
擷取與指定根目錄相關聯的文件系統和磁碟區相關信息。 |
GetVolumeInformationByHandleW |
擷取與指定檔案相關聯的文件系統和磁碟區相關信息。 |
GetVolumeNameForVolumeMountPoint |
擷取與指定磁碟區裝入點相關聯的磁碟區 GUID 路徑的磁碟區路徑(驅動器號、磁碟區 GUID 路徑或掛接的資料夾)。 |
GetVolumePathName |
擷取掛接指定路徑的磁碟區裝入點。 |
GetVolumePathNamesForVolumeName |
擷取指定磁碟區驅動器號和掛接的資料夾路徑清單。 |
QueryDosDevice |
擷取 MS-DOS 裝置名稱的相關信息。 |
SetVolumeLabel |
設定檔案系統磁碟區的標籤。 |
SetVolumeMountPoint |
將磁碟區與其他磁碟區上的驅動器號或目錄產生關聯。 |
下列函式會與磁碟區裝入點搭配使用(驅動器號、磁碟區 GUID 路徑和掛接的資料夾)。