UWF_RegistryFilter.CommitRegistry

Commits changes to the specified registry key and value.

Syntax

UInt32 CommitRegistry(
    [in] string RegistryKey,
    [in] string ValueName
);

Parameters

RegistryKey A string that contains the full path of the registry key to be committed.

ValueName A string that contains the name of the value to be committed.

Return Value

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

Remarks

This method will commit only the value specified by ValueName under RegistryKey if ValueName is specified.

You must use an administrator account to change any properties or call any methods that change the configuration settings.

Requirements

Windows Edition Supported
Windows 10 Home No
Windows 10 Pro No
Windows 10 Enterprise Yes
Windows 10 Education Yes

UWF_RegistryFilter

Unified Write Filter