SHRegSetUSValueA (SHLWAPI.@)
LONG SHRegSetUSValueA ( LPCSTR pszSubKey, LPCSTR pszValue, DWORD dwType, LPVOID pvData, DWORD cbData, DWORD dwFlags )
Set a user-specific registry value.
pszSubKey | [In] | Name of key to set the value in. |
pszValue | [In] | Name of value under pszSubKey to set the value in. |
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: An error code from SHRegOpenUSKeyA or SHRegWriteUSValueA, or ERROR_INVALID_FUNCTION if pvData is NULL.
This function opens pszSubKey, sets the value, and then closes the key.
Defined in "shlwapi.h".
Implemented in "dlls/shlwapi/reg.c". source.winehq.org/source/dlls/shlwapi/reg.c
Debug channel "shell".
Copyright © 2005 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Aug 2005.