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

# SHRegCloseUSKey(3w)

## NAME

**SHRegCloseUSKey** (SHLWAPI.@)

## SYNOPSIS

LONG SHRegCloseUSKey\
  (\
   HUSKEY *hUSKey*\
  )

## PARAMS

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

## DESCRIPTION

Close a user-specific registry key.

## RETURNS

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

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

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
