Scroll to navigation

RegCreateKeyW(3w) Wine API RegCreateKeyW(3w)

NAME

RegCreateKeyW (ADVAPI32.@)

SYNOPSIS

LSTATUS RegCreateKeyW
(
HKEY hkey,
LPCWSTR lpSubKey,
PHKEY phkResult
)
 

DESCRIPTION

Creates the specified reg key.
 

PARAMS

hKey [In] Handle to an open key.
lpSubKey [In] Name of a key that will be opened or created.
phkResult [Out] Receives a handle to the opened or created key.
 

RETURNS

Success: ERROR_SUCCESS
Failure: nonzero error code defined in Winerror.h
 

IMPLEMENTATION

Declared in "winreg.h".
Implemented in "dlls/advapi32/registry.c".
Debug channel "reg".
Oct 2012 Wine API