SHRegWriteUSValueA3w
Usage
LONG SHRegWriteUSValueA
(
HUSKEY hUSKey,
LPCSTR pszValue,
DWORD dwType,
LPVOID pvData,
DWORD cbData,
DWORD dwFlags
)
Overview
Write a user-specific registry value.
Params
hUSKey [In] Key to write the value to.
pszValue [In] Name of value under hUSKey to write the value as.
dwType [In] Type of the value.
pvData [In] Data to set as the value.
cbData [In] length of pvData.
dwFlags [In] SHREGSET_ flags from "shlwapi.h".
Returns
Success: ERROR_SUCCESS.
Failure: ERROR_INVALID_PARAMETER, if any parameter is invalid, otherwise an error code from RegSetValueExA(3w).
Notes
dwFlags must have at least SHREGSET_FORCE_HKCU or SHREGSET_FORCE_HKLM set.
Implementation
Declared in "shlwapi.h".
Implemented in "dlls/shlwapi/reg.c".
Debug channel "shell".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.