Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The SetupDiDestroyDeviceInfoList function deletes a device information set and frees all associated memory.
Syntax
WINSETUPAPI BOOL SetupDiDestroyDeviceInfoList(
[in] HDEVINFO DeviceInfoSet
);
Parameters
[in] DeviceInfoSet
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
| Requirement | Value |
|---|---|
| Minimum supported client | Available in Microsoft Windows 2000 and later versions of Windows. |
| Target Platform | Desktop |
| Header | setupapi.h (include Setupapi.h) |
| Library | Setupapi.lib |
| DLL | Setupapi.dll |
| API set | ext-ms-win-setupapi-classinstallers-l1-1-0 (introduced in Windows 8) |