ImageList_GetImageCount function (commctrl.h)

Retrieves the number of images in an image list.

Syntax

int ImageList_GetImageCount(
  [in] HIMAGELIST himl
);

Parameters

[in] himl

Type: HIMAGELIST

A handle to the image list.

Return value

Type: int

Returns the number of images.

Requirements

Requirement Value
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