Share via


UWF_RegistryFilter.GetExclusions

從統一寫入篩選器 (UWF) 保護的裝置擷取所有登錄機碼排除專案。

語法

UInt32 GetExclusions(
    [out, EmbeddedInstance("UWF_ExcludedRegistryKey")] string ExcludedKeys[]
);

參數

ExcludedKeys
[out] UWF_ExcludedRegistryKey 對象的陣列,代表UWF篩選中排除的登錄機碼。

傳回值

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

備註

如果此方法在登錄機碼排除清單中找不到任何登錄機碼,則會將 ExcludedKeys 參數設定為 null。

需求

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