ImageList_Copy
This function copies images within a specified image list.
BOOL ImageList_Copy(
HIMAGELIST himlDst,
int iDst,
HIMAGELIST himlSrc,
int iSrc,
UINT uFlags );
Parameters
- himlDst and himlSrc
[in] Handle to an image list that is the target of the copy operation. Both parameters must be identical. - iDst
[in] Zero-based index of the image to be used as the destination of the copy operation. - iSrc
[in] Zero-based index of the image to be used as the source of the copy operation. - uFlags
[in] Bit flag value that specifies the type of copy operation to be made. This parameter can be one of the following values:Value Description ILCF_MOVE The source image is copied to the destination images index. This operation results in multiple instances of a given image. ILCF_SWAP The source and destination images exchange positions within the image list.
Return Values
Nonzero indicates success. Zero indicates failure.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 2.0 and later | Commctrl.h | Commctrl.lib, Imgctl.lib |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.