RegSetValueW3w
Usage
LSTATUS RegSetValueW
(
HKEY hkey,
LPCWSTR name,
DWORD type,
LPCWSTR data,
DWORD count
)
Overview
Sets the data for the default or unnamed value of a reg key.
Params
hKey [In] Handle to an open key.
lpSubKey [In] Name of a subkey of hKey.
dwType [In] Type of information to store.
lpData [In] String that contains the data to set for the default value.
cbData [In] Ignored.
Returns
Success: ERROR_SUCCESS
Failure: nonzero error code from Winerror.h
Implementation
Declared in "winreg.h".
Implemented in "dlls/advapi32/registry.c".
Debug channel "reg".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.