SHRegGetCLSIDKeyA.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

SHRegGetCLSIDKeyA (SHLWAPI.343)

SYNOPSIS

HRESULT SHRegGetCLSIDKeyA
 (
  REFGUID guid,
  LPCSTR  lpszValue,
  BOOL    bUseHKCU,
  BOOL    bCreate,
  PHKEY   phKey
 )

DESCRIPTION

Create or open an explorer ClassId Key.

PARAMS

guid [In] Explorer ClassId key to open.

lpszValue [In] Value name under the ClassId Key.

bUseHKCU [In] TRUE=Use HKEY_CURRENT_USER, FALSE=Use HKEY_CLASSES_ROOT.

bCreate [In] TRUE=Create the key if it doesn't exist, FALSE=Don't.

phKey [Out] Destination for the resulting key handle.

RETURNS

Success: S_OK. phKey contains the resulting registry handle.

Failure: An HRESULT error code indicating the problem.

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

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

Debug channel "shell".