Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.25 KB

File metadata and controls

51 lines (34 loc) · 1.25 KB

Home

Function name : SetupDiDestroyClassImageList

Group: Setup API functions - Library: setupapi


Destroys a class image list that was built by a call to SetupDiGetClassImageList or SetupDiGetClassImageListEx.


Code examples:

How to view system icons for the classes installed on the local machine
Enumerating devices installed on the local machine

Declaration:

WINSETUPAPI BOOL WINAPI
	SetupDiDestroyClassImageList(
	IN PSP_CLASSIMAGELIST_DATA
	ClassImageListData
	);  

FoxPro declaration:

DECLARE INTEGER SetupDiDestroyClassImageList IN setupapi;
	STRING ClassImageListData  

Parameters:

ClassImageListData A pointer to an SP_CLASSIMAGELIST_DATA structure that contains the class image list to destroy.


Return value:

The function returns TRUE if it is successful.


Comments:

See also: SetupDiGetClassImageListEx, SetupDiGetClassImageIndex.