NAME

RegQueryValueW  (ADVAPI32.@)

SYNOPSIS

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

DESCRIPTION

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". https://source.winehq.org/source/include/winreg.h

Implemented in "dlls/advapi32/registry.c". https://source.winehq.org/source/dlls/advapi32/registry.c

Debug channel "reg".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.