UWF _ RegistryFilter. GetExclusionsUWF_RegistryFilter.GetExclusions

从 (UWF) 的统一写入筛选器保护的设备中检索所有注册表项排除项。Retrieves all registry key exclusions from a device that is protected by Unified Write Filter (UWF).

语法Syntax

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

参数Parameters

ExcludedKeys []一个 UWF _ ExcludedRegistryKey对象数组,这些对象表示从 UWF 筛选中排除的注册表项。ExcludedKeys [out] An array of UWF_ExcludedRegistryKey objects that represent the registry keys excluded from UWF filtering.

返回值Return Value

返回一个 HRESULT 值,该值指示 wmi 状态wmi 错误Returns an HRESULT value that indicates WMI status or a WMI error.

备注Remarks

如果此方法在注册表项排除列表中找不到任何注册表项,则将 ExcludedKeys 参数设置为 null。If this method does not find any registry keys in the registry key exclusion list, it sets the ExcludedKeys parameter to null.

要求Requirements

Windows 版本Windows Edition 支持Supported
Windows 10 家庭版Windows 10 Home No
Windows 10 专业版Windows 10 Pro No
Windows 10 企业版Windows 10 Enterprise Yes
Windows 10 教育版Windows 10 Education Yes

UWF _ RegistryFilterUWF_RegistryFilter

统一写入筛选器Unified Write Filter