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 Home | No |
Windows Pro | No |
Windows Enterprise | Yes |
Windows Education | Yes |
Windows IoT Enterprise | Yes |