NAME

RegCreateKeyExA  (ADVAPI32.@)

SYNOPSIS

 DWORD RegCreateKeyExA
 (
  HKEY                 hkey,
  LPCSTR               name,
  DWORD                reserved,
  LPCSTR               class,
  DWORD                options,
  REGSAM               access,
  SECURITY_ATTRIBUTES* sa,
  PHKEY                retkey,
  LPDWORD              dispos
 )

DESCRIPTION

Open a registry key, creating it if it doesn't exist.

PARAMS

class="param">hkey class="in_out">[In] Handle of the parent registry key.
class="param">name class="in_out">[In] Name of the new key to open or create.
class="param">reserved class="in_out">[In] Reserved, pass class="const">0.
class class="in_out">[In] The object type of the new key.
options class="in_out">[In] Flags controlling the key creation (REG_OPTION_* flags from class="const">"winnt.h").
access class="in_out">[In] Access level desired.
sa class="in_out">[In] Security attributes for the key.
retkey class="in_out">[Out] Destination for the resulting handle.
dispos class="in_out">[Out] Receives REG_CREATED_NEW_KEY or REG_OPENED_EXISTING_KEY.

RETURNS

class="emp">Success: ERROR_SUCCESS.

class="emp">Failure: A standard Win32 error code. retkey remains untouched.

FIXME

MAXIMUM_ALLOWED in access mask not supported by server

IMPLEMENTATION

Defined in class="const">"winreg.h".

Implemented in class="const">"dlls/advapi32/registry.c". source.winehq.org/source/dlls/advapi32/registry.c

Debug channel class="const">"reg".


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