.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SHRegWriteUSValueA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSHRegWriteUSValueA\fR (SHLWAPI.@) .SH SYNOPSIS LONG SHRegWriteUSValueA ( HUSKEY \fIhUSKey\fR, LPCSTR \fIpszValue\fR, DWORD \fIdwType\fR, LPVOID \fIpvData\fR, DWORD \fIcbData\fR, DWORD \fIdwFlags\fR ) .SH DESCRIPTION .PP Write a user-specific registry value. .SH PARAMS \fIhUSKey\fR \fB[In]\fR Key to write the value to. .PP \fIpszValue\fR \fB[In]\fR Name of value under \fIhUSKey\fR to write the value as. .PP \fIdwType\fR \fB[In]\fR Type of the value. .PP \fIpvData\fR \fB[In]\fR Data to set as the value. .PP \fIcbData\fR \fB[In]\fR length of \fIpvData\fR. .PP \fIdwFlags\fR \fB[In]\fR \fBSHREGSET_\fR flags from \fB"shlwapi.h"\fR. .PP .SH RETURNS .PP \fBSuccess:\fR \fBERROR_SUCCESS\fR. .PP \fBFailure:\fR \fBERROR_INVALID_PARAMETER\fR, if any parameter is invalid, otherwise an error code from \fBRegSetValueExA(3w)\fR. .SH NOTES .PP \fIdwFlags\fR must have at least \fBSHREGSET_FORCE_HKCU\fR or \fBSHREGSET_FORCE_HKLM\fR set. .SH IMPLEMENTATION .PP Declared in \fB"shlwapi.h"\fR. .PP Implemented in \fB"dlls/shlwapi/reg.c"\fR. .PP Debug channel \fB"shell"\fR.