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

# ImageList\_SetImageCount(3w)

## NAME

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

## SYNOPSIS

BOOL ImageList\_SetImageCount\
  (\
   HIMAGELIST *himl*,\
   UINT       *iImageCount*\
  )

## DESCRIPTION

Resizes an image list to the specified number of images.

## PARAMS

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

*iImageCount* **\[In\]**  number of images in the image list.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

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

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

Debug channel **"imagelist"**.
