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

# ImageList\_Copy(3w)

## NAME

**ImageList\_Copy** (COMCTL32.@)

## SYNOPSIS

BOOL ImageList\_Copy\
  (\
   HIMAGELIST *himlDst*,\
   INT        *iDst*,\
   HIMAGELIST *himlSrc*,\
   INT        *iSrc*,\
   UINT       *uFlags*\
  )

## DESCRIPTION

Copies an image of the source image list to an image of the destination image list. Images can be copied or swapped.

## PARAMS

*himlDst* **\[In\]**  handle to the destination image list.

*iDst* **\[In\]**  destination image index.

*himlSrc* **\[In\]**  handle to the source image list.

*iSrc* **\[In\]**  source image index.

*uFlags* **\[In\]**  flags for the copy operation.

## RETURNS

**Success:** **TRUE**

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

## NOTES

Copying from one image list to another is possible. The original implementation just copies or swaps within one image list. Could this feature become a bug???;-)

## IMPLEMENTATION

Declared in **"commctrl.h"**.

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

Debug channel **"imagelist"**.
