RegCreateKeyExA (KERNELBASE.@)
LSTATUS RegCreateKeyExA ( HKEY hkey, LPCSTR name, DWORD reserved, LPSTR class, DWORD options, REGSAM access, SECURITY_ATTRIBUTES* sa, PHKEY retkey, LPDWORD dispos )
Open a registry key, creating it if it doesn't exist.
hkey | [In] | Handle of the parent registry key. |
name | [In] | Name of the new key to open or create. |
reserved | [In] | Reserved, pass 0. |
class | [In] | The object type of the new key. |
options | [In] | Flags controlling the key creation (REG_OPTION_* flags from "winnt.h"). |
access | [In] | Access level desired. |
sa | [In] | Security attributes for the key. |
retkey | [Out] | Destination for the resulting handle. |
dispos | [Out] | Receives REG_CREATED_NEW_KEY or REG_OPENED_EXISTING_KEY. |
Success: ERROR_SUCCESS.
Failure: A standard Win32 error code. retkey remains untouched.
MAXIMUM_ALLOWED in access mask not supported by server
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.