ImageList_Copy function
Copies images within a given image list.
Syntax
BOOL ImageList_Copy( HIMAGELIST himlDst, int iDst, HIMAGELIST himlSrc, int iSrc, UINT uFlags );
Parameters
- himlDst
-
Type: HIMAGELIST
A handle to an image list that is the target of the copy operation. In current versions of Windows, both himlDst and himlSrc must be identical.
- iDst
-
Type: int
The zero-based index of the image to be used as the destination of the copy operation.
- himlSrc
-
Type: HIMAGELIST
A handle to an image list that is the target of the copy operation. In current versions of Windows, both himlDst and himlSrc must be identical.
- iSrc
-
Type: int
The zero-based index of the image to be used as the source of the copy operation.
- uFlags
-
Type: UINT
the bit flag value that specifies the type of copy operation to be made. This parameter can be one of the following values:
Return value
Type: BOOL
Returns nonzero if successful, or zero otherwise.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|