RegSetValueExW(3w)

RegSetValueExW3w

Usage

LSTATUS RegSetValueExW
(
HKEY hkey,
LPCWSTR name,
DWORD reserved,
DWORD type,
CONST BYTE* data,
DWORD count
)

Overview

Set the data and contents of a registry value.

Params

hkey [In] Handle of key to set value for.

name [In] Name of value to set.

reserved [In] Reserved, must be zero.

type [In] Type of the value being set.

data [In] The new contents of the value to set.

count [In] Size of data.

Returns

Success: ERROR_SUCCESS

Failure: Error code

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.