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

# SHRegEnumUSKeyA(3w)

## NAME

**SHRegEnumUSKeyA** (SHLWAPI.@)

## SYNOPSIS

LONG SHRegEnumUSKeyA\
  (\
   HUSKEY          *hUSKey*,\
   DWORD           *dwIndex*,\
   LPSTR           *pszName*,\
   LPDWORD         *pcchValueNameLen*,\
   SHREGENUM\_FLAGS *enumRegFlags*\
  )

## PARAMS

*hUSKey* **\[In\]**  Key to enumerate.

*dwIndex* **\[In\]**  Index within *hUSKey*.

*pszName* **\[Out\]**  Name of the enumerated value.

*pcchValueNameLen* **\[In/Out\]**  Length of *pszName*.

*enumRegFlags* **\[In\]**  **SHREGENUM\_** flags from **"shlwapi.h"**.

## DESCRIPTION

Enumerate a user-specific registry key.

## RETURNS

**Success:** **ERROR\_SUCCESS**

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

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
