Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.69 KB

uwf-overlaysetcriticalthreshold.md

File metadata and controls

60 lines (43 loc) · 1.69 KB
title description MSHAttr ms.assetid author ms.author ms.service ms.subservice ms.date ms.topic
UWF_Overlay.SetCriticalThreshold
UWF_Overlay.SetCriticalThreshold
PreferredSiteName:MSDN
PreferredLib:/library/windows/hardware
970dd0a5-ce9c-40d1-b6f5-772c9992f62a
TerryWarwick
twarwick
windows-iot
iot
05/20/2024
article

UWF_Overlay.SetCriticalThreshold

Sets the critical threshold for monitoring the size of the Unified Write Filter (UWF) overlay.

Syntax

UInt32 SetCriticalThreshold(
    UInt32 size
);

Parameters

size
An integer that represents the size, in megabytes, of the critical threshold level for the overlay. If size is 0 (zero), UWF does not raise critical threshold events.

Return Value

Returns an HRESULT value that indicates WMI status or a WMI error.

Remarks

When the size of the overlay reaches or exceeds the size threshold value, UWF writes the following notification event to the event log.

Message ID Event code Message text
UWF_OVERLAY_REACHED_CRITICAL_LEVEL 0x80010002L The UWF overlay size has reached CRITICAL level.

The critical threshold must be higher than the warning threshold.

Requirements

Windows Edition Supported
Windows Home No
Windows Pro No
Windows Enterprise Yes
Windows Education Yes
Windows IoT Enterprise Yes

Related topics