SystemState::SetRegistryValueMultistring method
Sets a multi-string (REG_MULTI_SZ) value into the registry.
Syntax
virtual HRESULT SetRegistryValueMultistring(
[in] HKEY keyRoot,
[in] LPCWSTR keyPath,
[in] LPCWSTR valueName,
[in] LPCWSTR data,
[in] ULONG length
) = 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 a buffer to set the registry string value.
-
length [in]
-
The length of multi-string (including the zero that marks the end of the multi-string).
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 |
|