SHRegWriteUSValueA (SHLWAPI.@)
LONG SHRegWriteUSValueA ( HUSKEY hUSKey, LPCSTR pszValue, DWORD dwType, LPVOID pvData, DWORD cbData, DWORD dwFlags )
Write a user-specific registry value.
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". |
Success: ERROR_SUCCESS.
Failure: ERROR_INVALID_PARAMETER, if any parameter is invalid, otherwise an error code from RegSetValueExA.
dwFlags must have at least SHREGSET_FORCE_HKCU or SHREGSET_FORCE_HKLM set.
Defined in "shlwapi.h".
Implemented in "dlls/shlwapi/reg.c". source.winehq.org/source/dlls/shlwapi/reg.c
Debug channel "shell".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.