Partager via


UWF_RegistryFilter.CommitRegistryDeletion (Industry 8.1)

7/8/2014

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

This method deletes the specified registry key or registry value and commits the deletion.

Syntax

UInt32 CommitRegistryDeletion(
    string Registrykey,
    string ValueName
);

Parameters

  • RegistryKey
    A string that contains the full path of the registry key that contains the value to be deleted. If ValueName is empty, the entire registry key is deleted.
  • ValueName
    A string that contains the name of the value to be deleted.

Return Value

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

Remarks

If ValueName is specified, this method will delete only the value specified by ValueName that is contained by RegistryKey. If ValueName is empty, the entire RegistryKey and all its sub keys are deleted.

This method deletes the registry key or registry value from both the overlay and the persistent storage.

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