CommitRegistry (Standard 8)
7/8/2014
Review the syntax, members, and examples of the UWF_RegistryFilter.CommitRegistry WMI method for Windows Embedded 8 Standard (Standard 8).
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 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.
Note
The CommitRegistry method fails after HORM is disabled.
Requirements
Architecture |
x64, |
MOF |
uwfwmi.mof |
WMI Namespace |
root\standardcimv2\embedded |
WMI Provider |
UWF |