ImageList_Destroy function (commctrl.h)

Destroys an image list.

Syntax

BOOL ImageList_Destroy(
  [in, optional] HIMAGELIST himl
);

Parameters

[in, optional] himl

Type: HIMAGELIST

A handle to the image list to destroy.

Return value

Type: BOOL

Returns nonzero if successful, or zero otherwise.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h
Library Comctl32.lib
DLL Comctl32.dll
API set ext-ms-win-shell-comctl32-init-l1-1-1 (introduced in Windows 10, version 10.0.14393)