UWF_OverlayConfig.SetMaximumSize (Industry 8.1)
7/8/2014
Review the use, syntax, parameters, and return values of the UWF_OverlayConfig.SetMaximumSize method for Windows Embedded 8.1 Industry (Industry 8.1).
This method sets the maximum cache size of the Unified Write Filter (UWF) overlay.
Syntax
UInt32 SetMaximumSize(
UInt32 size
);
Parameters
- size
An integer that represents the maximum cache size, in megabytes, of the overlay.
Return Value
Returns an HRESULT value that indicates WMI status or a WMI error.
Remarks
When the size of the overlay reaches the size value, UWF returns an error for any attempt to write to a protected volume.
If the overlay type is disk-based, your device must meet the following requirements to change the maximum size of the overlay.
- UWF must be disabled in the current session.
- The size value must be at least 1024.
- The system volume on your device must have available free space greater than the new maximum size value.
If the overlay type is RAM-based, your device must meet the following requirement to change the maximum size of the overlay.
- UWF must be disabled in the current session.