Scroll to navigation

RegOpenKeyExA(3w) Wine API RegOpenKeyExA(3w)

NAME

RegOpenKeyExA (ADVAPI32.@)

SYNOPSIS

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

DESCRIPTION

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".
Oct 2012 Wine API