.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RegSetValueW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRegSetValueW\fR (ADVAPI32.@) .SH SYNOPSIS LSTATUS RegSetValueW ( HKEY \fIhkey\fR, LPCWSTR \fIname\fR, DWORD \fItype\fR, LPCWSTR \fIdata\fR, DWORD \fIcount\fR ) .SH DESCRIPTION .PP Sets the \fIdata\fR for the default or unnamed value of a reg key. .SH PARAMS hKey \fB[In]\fR Handle to an open key. .PP lpSubKey \fB[In]\fR Name of a subkey of hKey. .PP dwType \fB[In]\fR Type of information to store. .PP lpData \fB[In]\fR String that contains the \fIdata\fR to set for the default value. .PP cbData \fB[In]\fR Ignored. .PP .SH RETURNS .PP \fBSuccess:\fR \fBERROR_SUCCESS\fR .PP \fBFailure:\fR nonzero error code from Winerror.h .SH IMPLEMENTATION .PP Declared in \fB"winreg.h"\fR. .PP Implemented in \fB"dlls/advapi32/registry.c"\fR. .PP Debug channel \fB"reg"\fR.