Compartilhar via


CImageList::GetImageInfo

Call this function to retrieve information about an image.

BOOL GetImageInfo(
   int nImage,
   IMAGEINFO* pImageInfo 
) const;

Parameters

  • nImage
    Zero-based index of the image.

  • pImageInfo
    Pointer to an IMAGEINFO structure that receives information about the image. The information in this structure can be used to directly manipulate the bitmaps for the image.

Return Value

Nonzero if successful; otherwise 0.

Remarks

The IMAGEINFO structure contains information about an image in an image list.

Requirements

Header: afxcmn.h

See Also

Reference

CImageList Class

Hierarchy Chart

CImageList::GetImageCount

Other Resources

CImageList Members