Share via


SetMaximumSize (Standard 8)

7/8/2014

Review the syntax, members, and examples of the UWF_OverlayConfig.SetMaximumSize WMI method for Windows Embedded 8 Standard (Standard 8).

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 MB, of the overlay.

Return Value

Returns an HRESULT 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.

Requirements

Architecture

x64,
x86

MOF

uwfwmi.mof

WMI Namespace

root\standardcimv2\embedded

WMI Provider

UWF

See Also

Reference

UWF_OverlayConfig

Concepts

Unified Write Filter (UWF) Overview