UWF_RegistryFilter.CommitRegistry (Industry 8.1)

7/8/2014

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

This method 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
    [in] 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. If ValueName is empty, all values under RegistryKey and all its subkeys will be committed.

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

See Also

Reference

UWF_RegistryFilter

Concepts

Unified Write Filter