Partager via


UWF_RegistryFilter.AddExclusion (Industry 8.1)

7/8/2014

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

This method adds a registry key to the registry exclusion list for Unified Write Filter (UWF).

Important

Only registry subkeys under the following registry keys can be added to the exclusion list.

  • HKEY_LOCAL_MACHINE\BCD00000000
  • HKEY_LOCAL_MACHINE\SYSTEM
  • HKEY_LOCAL_MACHINE\SOFTWARE
  • HKEY_LOCAL_MACHINE\SAM
  • HKEY_LOCAL_MACHINE\SECURITY
  • HKEY_LOCAL_MACHINE\COMPONENTS

Important

Excluding a registry key from filtering also excludes all subkeys from filtering.

Syntax

UInt32 AddExclusion(
    string RegistryKey
);

Parameters

  • RegistryKey
    A string that contains the full path of the registry key.

Return Value

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

Remarks

You must restart the device before the registry key is excluded from UWF filtering.

See Also

Reference

UWF_RegistryFilter

Concepts

Unified Write Filter