The ImageList_GetImageCount function retrieves the number of images in an image list.
int ImageList_GetImageCount(;
| HIMAGELIST himl | |
| ); |
Parameters
himl
Handle to the image list.
Return Values
The ImageList_GetImageCount function returns the number of images.