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

# RSAENH\_CPDuplicateHash(3w)

## NAME

**RSAENH\_CPDuplicateHash** (RSAENH.@)

## SYNOPSIS

BOOL RSAENH\_CPDuplicateHash\
  (\
   HCRYPTPROV  *hUID*,\
   HCRYPTHASH  *hHash*,\
   DWORD\*      *pdwReserved*,\
   DWORD       *dwFlags*,\
   HCRYPTHASH\* *phHash*\
  )

## DESCRIPTION

Clones a hash object including its current state.

## PARAMS

*hUID* **\[In\]**  Handle to the key container the hash belongs to.

*hHash* **\[In\]**  Handle to the hash object to be cloned.

*pdwReserved* **\[In\]**  Reserved. Must be **NULL**.

*dwFlags* **\[In\]**  No flags are currently defined. Must be **0.**

*phHash* **\[Out\]**  Handle to the cloned hash object.

## RETURNS

**Success:** **TRUE**.

**Failure:** **FALSE**.

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/rsaenh/rsaenh.c"**.

Debug channel **"crypt"**.
