SHRegGetUSValueA(3w)

SHRegGetUSValueA3w

Usage

LONG SHRegGetUSValueA
(
LPCSTR pSubKey,
LPCSTR pValue,
LPDWORD pwType,
LPVOID pvData,
LPDWORD pcbData,
BOOL flagIgnoreHKCU,
LPVOID pDefaultData,
DWORD wDefaultDataSize
)

Params

pSubKey [In] Key name to open.

pValue [In] Value name to open.

pwType [Out] Destination for the type of the value.

pvData [Out] Destination for the value.

pcbData [In] Destination for the length of the value *.

flagIgnoreHKCU [In] TRUE=Don't check HKEY_CURRENT_USER.

pDefaultData [In] Default value if it doesn't exist.

wDefaultDataSize [In] Length of pDefaultData.

Overview

Get a user-specific registry value.

Returns

Success: ERROR_SUCCESS

Failure: An error code from SHRegOpenUSKeyA(3w) or SHRegQueryUSValueA(3w).

Notes

This function opens pSubKey, queries the value, and then closes the key.

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.