SHRegCreateUSKeyA.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SHRegCreateUSKeyA (SHLWAPI.@)

SYNOPSIS

LONG SHRegCreateUSKeyA
 (
  LPCSTR  pszPath,
  REGSAM  samDesired,
  HUSKEY  hRelativeUSKey,
  PHUSKEY phNewUSKey,
  DWORD   dwFlags
 )

DESCRIPTION

Create or open a user-specific registry key.

PARAMS

pszPath [In] Key name to create or open.

samDesired [In] Wanted security access.

hRelativeUSKey [In] Base path if pszPath is relative. NULL otherwise.

phNewUSKey [Out] Receives a handle to the new or opened key.

dwFlags [In] Base key under which the key should be opened.

RETURNS

Success: ERROR_SUCCESS

Failure: Nonzero error code from Winerror.h

IMPLEMENTATION

Defined in "shlwapi.h".

Implemented in "dlls/shlwapi/reg.c".

Debug channel "shell".