ComCtl32ImageList_GetImageCount Method
Retrieves the number of images in an image list.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ComCtl32.dll")]
public static int ImageList_GetImageCount(
IntPtr hImageList
)
<DllImportAttribute("ComCtl32.dll">]
Public Shared Function ImageList_GetImageCount (
hImageList As IntPtr
) As Integer
Dim hImageList As IntPtr
Dim returnValue As Integer
returnValue = ComCtl32.ImageList_GetImageCount(hImageList)
public:
[DllImportAttribute(L"ComCtl32.dll")]
static int ImageList_GetImageCount(
IntPtr hImageList
)
[<DllImportAttribute("ComCtl32.dll")>]
static member ImageList_GetImageCount :
hImageList : IntPtr -> int
No code example is currently available or this language may not be supported.
- hImageList IntPtr
-
A handle to the image list.
Int32
Returns the number of images.