RegOpenCurrentUser(3w)

RegOpenCurrentUser3w

Usage

LSTATUS RegOpenCurrentUser
(
REGSAM access,
PHKEY retkey
)

Overview

Get a handle to the HKEY_CURRENT_USER key for the user the current thread is impersonating.

Params

access [In] Desired access rights to the key.

retkey [Out] Handle to the opened key.

Returns

Success: ERROR_SUCCESS

Failure: nonzero error code from Winerror.h.

Fixme

This function is supposed to retrieve a handle to the HKEY_CURRENT_USER for the user the current thread is impersonating. Since Wine does not currently allow threads to impersonate other users, this stub should work fine.

Implementation

Declared in "winreg.h".

Implemented in "dlls/advapi32/registry.c".

Debug channel "reg".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

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