Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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) |