ImageList_Duplicate

The ImageList_Duplicate function creates a duplicate of an existing image list.

Syntax

HIMAGELIST ImageList_Duplicate(HIMAGELIST himl);

At a Glance

Header file: Commctrl.h
Component: Imgctl
Platforms: H/PC
Windows CE versions: 2.0 and later

Parameters

himl
Handle to the image list to be duplicated. All information contained in the original image list is copied to the new image list.

Return Values

Returns the handle to the new duplicate image list if successful or NULL otherwise.

Remarks

The ImageList_Duplicate function is not supported for emulation.