NAME

RegOpenUserClassesRoot  (KERNELBASE.@)

SYNOPSIS

 LSTATUS RegOpenUserClassesRoot
 (
  HANDLE hToken,
  DWORD  dwOptions,
  REGSAM samDesired,
  PHKEY  phkResult
 )

DESCRIPTION

Open the HKEY_CLASSES_ROOT key for a user.

PARAMS

hToken [In] Handle of token representing the user.
dwOptions [In] Reserved, must be 0.
samDesired [In] Desired access rights.
phkResult [Out] Destination for the resulting key handle.

RETURNS

Success: ERROR_SUCCESS

Failure: nonzero error code from Winerror.h.

NOTES

On Windows® 2000 and upwards the HKEY_CLASSES_ROOT key is a view of the "HKEY_LOCAL_MACHINE\Software\Classes" and the "HKEY_CURRENT_USER\Software\Classes" keys merged together.

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 Nov 2024.