RegQueryValueW(3w)

RegQueryValueW3w

Usage

LSTATUS RegQueryValueW
(
HKEY hkey,
LPCWSTR name,
LPWSTR data,
LPLONG count
)

Overview

Retrieves the data associated with the default or unnamed value of a key.

Params

hkey [In] Handle to an open key.

name [In] Name of the subkey of hKey.

data [Out] Receives the string associated with the default value of the key.

count [In/Out] Size of lpValue in bytes.

Returns

Success: ERROR_SUCCESS

Failure: nonzero error code from Winerror.h

Implementation

Declared in "winreg.h".

Implemented in "dlls/advapi32/registry.c".

Debug channel "reg".

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.