共用方式為


掛接的資料夾函式

掛接的資料夾函式可以分成三個群組:一般用途函式、用來掃描磁片區的函式,以及用來掃描已掛接資料夾磁片區的函式。

General-Purpose掛接的資料夾函式

函式 描述
DeleteVolumeMountPoint 刪除磁碟機號或掛接的資料夾。
GetVolumeNameForVolumeMountPoint 擷取與指定磁片區掛接點相關聯的磁片區 GUID 路徑, (磁碟機號、磁片區 GUID 路徑或掛接資料夾) 。
GetVolumePathName 擷取與指定磁片區相關聯的掛接資料夾。
SetVolumeMountPoint 將磁片區與磁碟機號或另一個磁片區上的目錄產生關聯。

 

Volume-Scanning函式

函式 描述
FindFirstVolume 傳回電腦上的磁片區名稱。 FindFirstVolume 可用來開始列舉電腦的磁片區。
FindNextVolume 繼續從呼叫 FindFirstVolume開始的磁片區搜尋。
FindVolumeClose 關閉磁片區的搜尋。

 

掛接的資料夾掃描函式

函式 描述
FindFirstVolumeMountPoint 擷取指定磁片區上掛接的資料夾名稱。 FindFirstVolumeMountPoint 可用來開始掃描磁片區上掛接的資料夾。
FindNextVolumeMountPoint 繼續呼叫 FindFirstVolumeMountPoint所啟動的掛接資料夾搜尋。
FindVolumeMountPointClose 關閉已掛接資料夾的搜尋。