NAME

RegOpenKeyExA  (KERNELBASE.@)

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, this function will not create the key if it does not exist.

IMPLEMENTATION

Declared in "include/winreg.h". gitlab.winehq.org/wine/wine/blob/master/include/winreg.h

Implemented in "dlls/kernelbase/registry.c". gitlab.winehq.org/wine/wine/blob/master/dlls/kernelbase/registry.c

Debug channel "reg".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.