ImageList_GetImageCount function (commctrl.h)

Retrieves the number of images in an image list.

Syntax

int ImageList_GetImageCount(
  HIMAGELIST himl
);

Parameters

himl

Type: HIMAGELIST

A handle to the image list.

Return value

Type: int

Returns the number of images.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h
Library Comctl32.lib
DLL Comctl32.dll