共用方式為


掛接的資料夾函式

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

General-Purpose 掛接的資料夾函式

功能 描述
DeleteVolumeMountPoint 刪除驅動器號或掛接的資料夾。
GetVolumeNameForVolumeMountPoint 擷取與指定磁碟區裝入點相關聯之磁碟區的磁碟區 GUID 路徑(驅動器號、磁碟區 GUID 路徑或掛接資料夾)。
GetVolumePathName 擷取與指定磁碟區相關聯的掛接資料夾。
SetVolumeMountPoint 將磁碟區與其他磁碟區上的驅動器號或目錄產生關聯。

 

Volume-Scanning 函式

功能 描述
FindFirstVolume 傳回電腦上的磁碟區名稱。 FindFirstVolume 可用來開始列舉電腦的磁碟區。
FindNextVolume 繼續呼叫 findFirstVolume 所啟動的磁碟區搜尋。
FindVolumeClose 關閉搜尋磁碟區。

 

掛接的資料夾掃描函式

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