UWF_RegistryFilter.GetExclusions

检索受统一写入筛选器 (UWF) 保护的设备的所有注册表项排除项。

语法

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

参数

ExcludedKeys
[out] UWF_ExcludedRegistryKey 对象的数组,这些对象表示从 UWF 筛选中排除的注册表项。

返回值

返回一个 HRESULT 值,该值指示 WMI 状态WMI 错误

备注

如果此方法在注册表项排除列表中找不到任何注册表项,则会将 ExcludedKeys 参数设置为 null。

要求

Windows 版本 支持
Windows 主页
Windows 专业版
Windows 企业版
Windows 教育版
Windows IoT 企业版