SetupDiDestroyClassImageList function

The SetupDiDestroyClassImageList function destroys a class image list that was built by a call to SetupDiGetClassImageList or SetupDiGetClassImageListEx.

Syntax


BOOL SetupDiDestroyClassImageList(
  _In_ PSP_CLASSIMAGELIST_DATA ClassImageListData
);

Parameters

ClassImageListData [in]

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. Otherwise, it returns FALSE and the logged error can be retrieved by a call to GetLastError.

Requirements

Target platform

Version

Available in Microsoft Windows 2000 and later versions of Windows.

Header

Setupapi.h (include Setupapi.h)

Library

Setupapi.lib

DLL

Setupapi.dll

See also

SetupDiGetClassImageList
SetupDiGetClassImageListEx

 

 

Send comments about this topic to Microsoft

Show: