.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RtlWriteRegistryValue 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRtlWriteRegistryValue\fR (NTDLL.@) .SH SYNOPSIS NTSTATUS RtlWriteRegistryValue ( ULONG \fIRelativeTo\fR, PCWSTR \fIpath\fR, PCWSTR \fIname\fR, ULONG \fItype\fR, PVOID \fIdata\fR, ULONG \fIlength\fR ) .SH DESCRIPTION .PP Sets the registry value with provided \fIdata\fR. .SH PARAMS \fIRelativeTo\fR \fB[In]\fR Registry \fIpath\fR that \fIpath\fR parameter refers to. .PP \fIpath\fR \fB[In]\fR Path to the key (or handle \fB-\fR see RTL_GetKeyHandle). .PP \fIname\fR \fB[In]\fR Name of the registry value to set. .PP \fItype\fR \fB[In]\fR Type of the registry key to set. .PP \fIdata\fR \fB[In]\fR Pointer to the user \fIdata\fR to be set. .PP \fIlength\fR \fB[In]\fR Length of the user \fIdata\fR pointed by \fIdata\fR. .PP .SH RETURNS .PP \fBSTATUS_SUCCESS\fR if the specified key is successfully set, or an \fBNTSTATUS\fR error code. .SH IMPLEMENTATION .PP Declared in \fB"winternl.h"\fR. .PP Implemented in \fB"dlls/ntdll/reg.c"\fR. .PP Debug channel \fB"reg"\fR.