SHGetValueA(3w)

SHGetValueA3w

Usage

DWORD SHGetValueA
(
HKEY hKey,
LPCSTR lpszSubKey,
LPCSTR lpszValue,
LPDWORD pwType,
LPVOID pvData,
LPDWORD pcbData
)

Overview

Get a value from the registry.

Params

hKey [In] Handle to registry key.

lpszSubKey [In] Name of sub key containing value to get.

lpszValue [In] Name of value to get.

pwType [Out] Pointer to the values type.

pvData [Out] Pointer to the values data.

pcbData [Out] Pointer to the values size.

Returns

Success: ERROR_SUCCESS. Output parameters contain the details read.

Failure: An error code from RegOpenKeyExA(3w) or SHQueryValueExA(3w).

Implementation

Declared in "shlwapi.h".

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.