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.