UWF_RegistryFilter.GetExclusions

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

語法

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

參數

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

傳回值

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

備註

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

規格需求

Windows 版本 支援
Windows 首頁 No
Windows 專業版
Windows 企業版
Windows 教育版
Windows IoT 企業版 是的