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

# SHRegDuplicateHKey(3w)

## NAME

**SHRegDuplicateHKey** (SHLWAPI.@)

## SYNOPSIS

HKEY SHRegDuplicateHKey\
  (\
   HKEY *hKey*\
  )

## DESCRIPTION

Create a duplicate of a registry handle.

## PARAMS

*hKey* **\[In\]**  key to duplicate.

## RETURNS

A new handle pointing to the same key as *hKey*.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
