Share via


UWF_Volume.GetExclusions

取得統一寫入篩選器 (UWF) 受保護磁碟區的所有檔案排除清單。

語法

UInt32 GetExclusions(
    [out, EmbeddedInstance("UWF_ExcludedFile")] string ExcludedFiles[]
);

參數

ExcludedFiles
[out] UWF_ExcludedFile 對象的陣列,代表從磁碟區 UWF 篩選中排除的檔案和資料夾。

傳回值

傳回 HRESULT 值,指出 WMI 狀態WMI 錯誤常數

備註

如果 GetExclusions 在磁碟區的檔案排除清單中找不到任何檔案或資料夾, GetExclusions 會將 ExcludedFiles 參數設定為 null。

需求

Windows 版本 支援
Windows Home No
Windows 專業版 No
Windows 企業版 Yes
Windows 教育版 Yes
Windows IoT 企業版 Yes