Partager via


UWF_Filter.RestartSystem (Industry 8.1)

7/8/2014

Review the use, syntax, parameters, and return values of the UWF_Filter.RestartSystem method for Windows Embedded 8.1 Industry (Industry 8.1).

This method safely restarts a system protected by UWF, even if the overlay is full.

Syntax

UInt32 RestartSystem();

Parameters

None.

Return Value

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

Remarks

You must use an administrator account to call this method.

If the overlay is full, or near full, shutting down or restarting the system normally can cause the system to take an extremely long time to shut down. This occurs when the system repeatedly tries to write files during shutdown, which constantly fail due to the overlay being full. You can call this method to safely restart a system by avoiding this scenario.

If the overlay becomes full while the system is performing a large amount of writes, such as copying a large group of files, calling this method can still result in a long shutdown time.

See Also

Reference

UWF_Filter

Concepts

Unified Write Filter