RegOpenKeyExA(3w)

RegOpenKeyExA3w

Usage

LSTATUS RegOpenKeyExA
(
HKEY hkey,
LPCSTR name,
DWORD options,
REGSAM access,
PHKEY retkey
)

Overview

Open a registry key.

Params

hkey [In] Handle of open key.

name [In] Name of subkey to open.

options [In] Open options (can be set to REG_OPTION_OPEN_LINK).

access [In] Security access mask.

retkey [Out] Handle to open key.

Returns

Success: ERROR_SUCCESS

Failure: A standard Win32 error code. retkey is set to 0.

Notes

Unlike RegCreateKeyExA(3w), this function will not create the key if it does not exist.

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.