Compartilhar via


ImageList_Copy (Windows CE 5.0)

Send Feedback

This function copies images within a specified image list.

BOOL ImageList_Copy(HIMAGELISThimlDst,intiDst,HIMAGELISThimlSrc,intiSrc,UINTuFlags );

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 image's 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

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.
Link Library: Commctrl.lib, Imgctl.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.