UWF _ 覆盖。 SetCriticalThresholdUWF_Overlay.SetCriticalThreshold

设置监视 (UWF) 覆盖的统一写入筛选器大小的临界阈值。Sets the critical threshold for monitoring the size of the Unified Write Filter (UWF) overlay.

语法Syntax

UInt32 SetCriticalThreshold(
    UInt32 size
);

参数Parameters

大小 一个整数,表示覆盖的严重阈值级别的大小(以 mb 为单位)。size An integer that represents the size, in megabytes, of the critical threshold level for the overlay. 如果 size 为 0 (零) ,则 UWF 不会引发关键阈值事件。If size is 0 (zero), UWF does not raise critical threshold events.

返回值Return Value

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

备注Remarks

当覆盖的大小达到或超过 大小 阈值时,UWF 会将以下通知事件写入事件日志。When the size of the overlay reaches or exceeds the size threshold value, UWF writes the following notification event to the event log.

消息 IDMessage ID 事件代码Event code 消息正文Message text

UWF_OVERLAY_REACHED_CRITICAL_LEVELUWF_OVERLAY_REACHED_CRITICAL_LEVEL

0x80010002L0x80010002L

UWF 覆盖大小已达到严重级别。The UWF overlay size has reached CRITICAL level.

严重阈值必须高于警告阈值。The critical threshold must be higher than the warning threshold.

要求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 _ 覆盖UWF_Overlay

统一写入筛选器Unified Write Filter