The ImageList_GetIconSize function retrieves the dimensions of images in an image list. All images in an image list have the same dimensions.
BOOL ImageList_GetIconSize(
HIMAGELIST himl, | |
int FAR *cx, | |
int FAR *cy | |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.