ImageList_Duplicate function

Creates a duplicate of an existing image list.

Syntax


HIMAGELIST ImageList_Duplicate(
  HIMAGELIST himl
);

Parameters

himl

Type: HIMAGELIST

A handle to the image list to be duplicated. All information contained in the original image list for normal images is copied to the new image list. Overlay images are not copied.

Return value

Type: HIMAGELIST

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

Library

Comctl32.lib

DLL

Comctl32.dll (version 4.71 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft