ComCtl32ImageList_GetIconSize Method

Retrieves the dimensions of images in an image list.

All images in an image list have the same dimensions.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ComCtl32.dll")]
public static bool ImageList_GetIconSize(
	IntPtr hImageList,
	ref int refWidth,
	ref int refHeight
)

Parameters

hImageList  IntPtr
A handle to the image list.
refWidth  Int32
The width, in pixels, of each image.
refHeight  Int32
The height, in pixels, of each image.

Return Value

Boolean
If the function succeeds, the return value is ; otherwise, it returns .

Remarks

See Also