Partager via


UWF_Servicing.UpdateWindows (Industry 8.1)

7/8/2014

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

This method calls Windows Update to download and install critical and security updates for your device running Windows Embedded 8.1 Industry (Industry 8.1).

Syntax

UInt32 UpdateWindows(
    [out] UInt32 UpdateStatus
);

Parameters

  • UpdateStatus
    [out] An integer that contains the status of the Windows Update operation, according to the following table:

    UpdateStatus

    Description

    0

    Success.

    3010

    Restart required.

    Any other value.

    Generic error.

Return Value

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

Remarks

This method is meant to be used as part of a servicing script. For more information, see Service UWF-protected devices.

This method does not disable or enable Unified Write Filter (UWF). If you call this method while UWF is enabled, updates may be lost when the device restarts.

See Also

Reference

UWF_Servicing

Concepts

Unified Write Filter