Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.55 KB

nf-commoncontrols-iimagelist-getimagecount.md

File metadata and controls

71 lines (58 loc) · 2.55 KB
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.
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
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
IImageList::GetImageCount
commoncontrols/IImageList::GetImageCount
c++
APIRef
kbSyntax
COM
Comctl32.dll
IImageList.GetImageCount

IImageList::GetImageCount

-description

Gets the number of images in an image list.

-parameters

-param pi [out]

Type: int*

A pointer to an int that contains the number of images when the method returns.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

To use IImageList::GetImageCount, specify Comctl32.dll version 6 in the manifest. For more information on manifests, see Enabling Visual Styles.