NAME

SHGetValueA  (SHLWAPI.@)

SYNOPSIS

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

DESCRIPTION

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 or SHQueryValueExA.

IMPLEMENTATION

Defined in "shlwapi.h".

Implemented in "dlls/shlwapi/reg.c". source.winehq.org/source/dlls/shlwapi/reg.c

Debug channel "shell".


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