UWF 重迭 _ 。 SetWarningThresholdUWF_Overlay.SetWarningThreshold

設定監視 (UWF) 覆迭之統一寫入篩選器大小的警告臨界值。Sets the warning threshold for monitoring the size of the Unified Write Filter (UWF) overlay.

語法Syntax

UInt32 SetWarningThreshold(
    UInt32 size
);

參數Parameters

大小 整數,表示覆迭的警告臨界值層級大小(以 mb 為單位)。size An integer that represents the size, in megabytes, of the warning threshold level for the overlay. 如果 size 設定為 0 (零) ,UWF 不會引發警告臨界值事件。If size is set to 0 (zero), UWF does not raise warning 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_WARNING_LEVELUWF_OVERLAY_REACHED_WARNING_LEVEL

0x80010001L0x80010001L

UWF 重迭大小已達到警告層級。The UWF overlay size has reached WARNING level.

警告臨界值必須低於 [重大臨界值]。The warning threshold must be lower than the critical threshold.

需求Requirements

Windows 版本Windows Edition 支援Supported
Windows 10 HomeWindows 10 Home No
Windows 10 ProWindows 10 Pro No
Windows 10 EnterpriseWindows 10 Enterprise Yes
Windows 10 EducationWindows 10 Education Yes

UWF _ 覆迭UWF_Overlay

統一寫入篩選器Unified Write Filter