UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:commoncontrols.IImageList.GetImageCount |
IImageList::GetImageCount (commoncontrols.h) |
Gets the number of images in an image list. |
|
controls\IImageList_GetImageCount.htm |
Controls |
VS|Controls|~\controls\imagelist\ifaces\iimagelist\getimagecount.htm |
12/05/2018 |
GetImageCount, GetImageCount method [Windows Controls], GetImageCount method [Windows Controls],IImageList interface, IImageList interface [Windows Controls],GetImageCount method, IImageList.GetImageCount, IImageList::GetImageCount, comctl_IImageList_GetImageCount, comctl_IImageList_GetImageCount_cpp, commoncontrols/IImageList::GetImageCount, controls.IImageList_GetImageCount, controls.comctl_IImageList_GetImageCount |
commoncontrols.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2003 [desktop apps only] |
CommonControls.idl |
Comctl32.dll (version 6.0 or later) |
Windows |
19H1 |
|
|
|
|
|
|
Gets the number of images in an image list.
Type: int*
A pointer to an int that contains the number of images when the method returns.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
To use IImageList::GetImageCount, specify Comctl32.dll version 6 in the manifest. For more information on manifests, see Enabling Visual Styles.