UWF_Overlay.SetWarningThreshold (Industry 8.1)
7/8/2014
Review the use, syntax, parameters, and return values of the UWF_Overlay.SetWarningThreshold method for Windows Embedded 8.1 Industry (Industry 8.1).
This method sets the warning threshold for monitoring the size of the Unified Write Filter (UWF) overlay.
Syntax
UInt32 SetWarningThreshold(
UInt32 size
);
Parameters
- size
An integer that represents the size, in megabytes, of the warning threshold level for the overlay. If size is set to 0 (zero), UWF does not raise warning 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_WARNING_LEVEL |
0x80010001L |
The UWF overlay size has reached WARNING level. |
The warning threshold must be lower than the critical threshold.