Upravit

Sdílet prostřednictvím


IMAGEINFO structure (commctrl.h)

Contains information about an image in an image list. This structure is used with the IImageList::GetImageInfo function.

Syntax

typedef struct _IMAGEINFO {
  HBITMAP hbmImage;
  HBITMAP hbmMask;
  int     Unused1;
  int     Unused2;
  RECT    rcImage;
} IMAGEINFO, *LPIMAGEINFO;

Members

hbmImage

Type: HBITMAP

A handle to the bitmap that contains the images.

hbmMask

Type: HBITMAP

A handle to a monochrome bitmap that contains the masks for the images. If the image list does not contain a mask, this member is NULL.

Unused1

Type: int

Not used. This member should always be zero.

Unused2

Type: int

Not used. This member should always be zero.

rcImage

Type: RECT

The bounding rectangle of the specified image within the bitmap specified by hbmImage.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header commctrl.h (include Commctrl.h)