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 "winreg.h". https://source.winehq.org/source/include/winreg.h

Implemented in "dlls/kernelbase/registry.c". https://source.winehq.org/source/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 May 2024.