Skip to content

Latest commit

 

History

History
77 lines (60 loc) · 3 KB

nf-setupapi-setupdigetclassimagelist.md

File metadata and controls

77 lines (60 loc) · 3 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:setupapi.SetupDiGetClassImageList
SetupDiGetClassImageList function (setupapi.h)
The SetupDiGetClassImageList function builds an image list that contains bitmaps for every installed class and returns the list in a data structure.
SetupDiGetClassImageList
SetupDiGetClassImageList function [Device and Driver Installation]
devinst.setupdigetclassimagelist
di-rtns_ef2c4660-f78a-4228-9b24-9c84e38765e5.xml
setupapi/SetupDiGetClassImageList
devinst\setupdigetclassimagelist.htm
devinst
d6b84403-9284-4fba-a419-a013cf68ea1e
12/05/2018
SetupDiGetClassImageList, SetupDiGetClassImageList function [Device and Driver Installation], devinst.setupdigetclassimagelist, di-rtns_ef2c4660-f78a-4228-9b24-9c84e38765e5.xml, setupapi/SetupDiGetClassImageList
setupapi.h
Setupapi.h
Desktop
Available in Microsoft Windows 2000 and later versions of Windows.
Setupapi.lib
Setupapi.dll
Windows
19H1
SetupDiGetClassImageList
setupapi/SetupDiGetClassImageList
c++
APIRef
kbSyntax
DllExport
Setupapi.dll
SetupDiGetClassImageList

SetupDiGetClassImageList function

-description

The SetupDiGetClassImageList function builds an image list that contains bitmaps for every installed class and returns the list in a data structure.

-parameters

-param ClassImageListData [out]

A pointer to an SP_CLASSIMAGELIST_DATA structure to receive information regarding the class image list, including a handle to the image list. The cbSize field of this structure must be initialized with the size of the structure, in bytes, before calling this function or it will fail.

-returns

The function returns TRUE if it is successful. Otherwise, it returns FALSE and the logged error can be retrieved by a call to GetLastError.

-remarks

The image list built by this function should be destroyed by calling SetupDiDestroyClassImageList.

Call SetupDiGetClassImageListEx to retrieve the image list for classes installed on a remote computer.

-see-also

SetupDiDestroyClassImageList

SetupDiGetClassImageListEx