SHRegGetCLSIDKeyA(3w)

SHRegGetCLSIDKeyA3w

Usage

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

Overview

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".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.