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

# DPA\_Clone(3w)

## NAME

**DPA\_Clone** (COMCTL32.331)

## SYNOPSIS

HDPA DPA\_Clone\
  (\
   const HDPA *hdpa*,\
   const HDPA *hdpaNew*\
  )

## DESCRIPTION

Copies a pointer array to an other one or creates a copy.

## PARAMS

*hdpa* **\[In\]**  handle (pointer) to the existing (source) pointer array.

*hdpaNew* **\[Out\]**  handle (pointer) to the destination pointer array.

## RETURNS

**Success:** pointer to the destination pointer array.

**Failure:** **NULL**.

## NOTES

**-** If the 'hdpaNew' is a NULL-Pointer, a copy of the source pointer array will be created and it's handle (pointer) is returned.

**-** If 'hdpa' is a NULL-Pointer, the original implementation crashes, this implementation just returns **NULL**.

## IMPLEMENTATION

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

Implemented in **"dlls/comctl32/dpa.c"**.

Debug channel **"dpa"**.
