.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RegOpenCurrentUser 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRegOpenCurrentUser\fR (ADVAPI32.@) .SH SYNOPSIS LSTATUS RegOpenCurrentUser ( REGSAM \fIaccess\fR, PHKEY \fIretkey\fR ) .SH DESCRIPTION .PP Get a handle to the \fBHKEY_CURRENT_USER\fR key for the user the current thread is impersonating. .SH PARAMS \fIaccess\fR \fB[In]\fR Desired \fIaccess\fR rights to the key. .PP \fIretkey\fR \fB[Out]\fR Handle to the opened key. .PP .SH RETURNS .PP \fBSuccess:\fR \fBERROR_SUCCESS\fR .PP \fBFailure:\fR nonzero error code from Winerror.h. .SH FIXME .PP This function is supposed to retrieve a handle to the \fBHKEY_CURRENT_USER\fR for the user the current thread is impersonating. Since Wine does not currently allow threads to impersonate other users, this stub should work fine. .SH IMPLEMENTATION .PP Declared in \fB"winreg.h"\fR. .PP Implemented in \fB"dlls/advapi32/registry.c"\fR. .PP Debug channel \fB"reg"\fR.