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 | |
); |
Parameters
himl
Handle to the image list.
cx
Pointer to integer variable that receives the width, in pixels, of each image.
cy
Pointer to integer variable that receives the height, in pixels, of each image.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.