Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetupDiDestroyDeviceInfoList
Collapse the table of content
Expand the table of content

SetupDiDestroyDeviceInfoList function

The SetupDiDestroyDeviceInfoList function deletes a device information set and frees all associated memory.

Syntax


BOOL SetupDiDestroyDeviceInfoList(
  _In_ HDEVINFO DeviceInfoSet
);

Parameters

DeviceInfoSet [in]

A handle to the device information set to delete.

Return value

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

Requirements

Target platform

Desktop

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

SetupDiCreateDeviceInfoList
SetupDiGetClassDevs

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft