Reference

ImageList_GetIconSize(3w)

NAME

ImageList_GetIconSize (COMCTL32.@)

SYNOPSIS

BOOL ImageList_GetIconSize
(
HIMAGELIST himl,
INT* cx,
INT* cy
)

DESCRIPTION

Retrieves the size of an image in an image list.

PARAMS

himl [In] handle to image list.

cx [Out] pointer to the image width.

cy [Out] pointer to the image height.

RETURNS

Success: TRUE

Failure: FALSE.

NOTES

All images in an image list have the same size.

IMPLEMENTATION

Declared in "commctrl.h".

Implemented in "dlls/comctl32/imagelist.c".

Debug channel "imagelist".

History