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

# ImageList\_Replace(3w)

## NAME

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

## SYNOPSIS

BOOL ImageList\_Replace\
  (\
   HIMAGELIST *himl*,\
   INT        *i*,\
   HBITMAP    *hbmImage*,\
   HBITMAP    *hbmMask*\
  )

## DESCRIPTION

Replaces an image in an image list with a new image.

## PARAMS

*himl* **\[In\]**  handle to image list.

*i* **\[In\]**  image index.

*hbmImage* **\[In\]**  handle to image bitmap.

*hbmMask* **\[In\]**  handle to mask bitmap. Can be **NULL**.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

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

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

Debug channel **"imagelist"**.
