Export (0) Print
Expand All
Expand Minimize

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

Version

Available in Microsoft Windows 2000 and later versions of Windows.

Header

Setupapi.h (include Setupapi.h)

Library

Setupapi.lib

See also

SetupDiCreateDeviceInfoList
SetupDiGetClassDevs

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft