RtlWriteRegistryValue(3w)

RtlWriteRegistryValue3w

Usage

NTSTATUS RtlWriteRegistryValue
(
ULONG RelativeTo,
PCWSTR path,
PCWSTR name,
ULONG type,
PVOID data,
ULONG length
)

Overview

Sets the registry value with provided data.

Params

RelativeTo [In] Registry path that path parameter refers to.

path [In] Path to the key (or handle - see RTL_GetKeyHandle).

name [In] Name of the registry value to set.

type [In] Type of the registry key to set.

data [In] Pointer to the user data to be set.

length [In] Length of the user data pointed by data.

Returns

STATUS_SUCCESS if the specified key is successfully set, or an NTSTATUS error code.

Implementation

Declared in "winternl.h".

Implemented in "dlls/ntdll/reg.c".

Debug channel "reg".

Releases

3 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0
  2. 6.0
  3. 7

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