Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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) |