Share via


UWF_RegistryFilter.FindExclusion

檢查特定登錄機碼是否已排除在統一寫入篩選器 (UWF) 篩選之外。

語法

UInt32 FindExclusion(
    [in] string RegistryKey,
    [out] boolean bFound
);

參數

RegistryKey
[in] 包含登錄機碼完整路徑的字串。

bFound
[out] 指出 RegistryKey 是否位於登錄機碼的排除清單中。

傳回值

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

需求

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