Reference

ImageList_CoCreateInstance(3w)

NAME

ImageList_CoCreateInstance (COMCTL32.@)

SYNOPSIS

HRESULT ImageList_CoCreateInstance
(
REFCLSID rclsid,
const IUnknown* punkOuter,
REFIID riid,
void** ppv
)

DESCRIPTION

Creates a new imagelist instance and returns an interface pointer to it.

PARAMS

rclsid [In] A reference to the CLSID (CLSID_ImageList).

punkOuter [In] Pointer to IUnknown interface for aggregation, if desired.

riid [In] Identifier of the requested interface.

ppv [Out] Returns the address of the pointer requested, or NULL.

RETURNS

Success: S_OK.

Failure: Error value.

IMPLEMENTATION

Declared in "commoncontrols.h".

Implemented in "dlls/comctl32/imagelist.c".

Debug channel "imagelist".