Platform SDK: Hardware |
The SetupDiDestroyDeviceInfoList function destroys a device information set and frees all associated memory.
BOOL SetupDiDestroyDeviceInfoList( HDEVINFO DeviceInfoSet );
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 98.
Header: Declared in Setupapi.h.
Library: Use Setupapi.lib.
Device Management Overview, Device Management Functions, SetupDiCreateDeviceInfoList, SetupDiCreateDeviceInfoListEx