---
name: "SHEnumValueA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SHEnumValueA"
---

# SHEnumValueA(3w)

## NAME

**SHEnumValueA** (SHLWAPI.@)

## SYNOPSIS

LONG SHEnumValueA\
  (\
   HKEY    *hKey*,\
   DWORD   *dwIndex*,\
   LPSTR   *lpszValue*,\
   LPDWORD *pwLen*,\
   LPDWORD *pwType*,\
   LPVOID  *pvData*,\
   LPDWORD *pcbData*\
  )

## DESCRIPTION

Enumerate values in a registry key.

## PARAMS

*hKey* **\[In\]**  Handle to registry key.

*dwIndex* **\[In\]**  Index of key to enumerate.

*lpszValue* **\[Out\]**  Pointer updated with the values name.

*pwLen* **\[Out\]**  Pointer updated with the values length.

*pwType* **\[Out\]**  Pointer updated with the values type.

*pvData* **\[Out\]**  Pointer updated with the values data.

*pcbData* **\[Out\]**  Pointer updated with the values size.

## RETURNS

**Success:** **ERROR\_SUCCESS**. Output parameters are updated.

**Failure:** An error code from **[RegEnumValueA(3w)](/RegEnumValueA/3w.md)**.

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/reg.c"**.

Debug channel **"shell"**.
