SystemState::SetRegistryValueUInt32 method
Sets an unsigned 32-bit integer (unsigned REG_DWORD) value into the registry.
Syntax
virtual HRESULT SetRegistryValueUInt32(
[in] HKEY keyRoot,
[in] LPCWSTR keyPath,
[in] LPCWSTR valueName,
[in] ULONG data
) = 0;
Parameters
-
keyRoot [in]
-
A handle to the root of the registry key.
-
keyPath [in]
-
The registry value path.
-
valueName [in]
-
The registry value name.
-
data [in]
-
A pointer to an item to set the registry value.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|