Added code to retrieve USB IDs and strings for Windows.

This commit is contained in:
2017-12-06 19:30:03 +00:00
parent df076b5e0f
commit be52156170
7 changed files with 1686 additions and 1 deletions

View File

@@ -140,7 +140,7 @@ namespace DiscImageChef.Devices.Windows
[DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
public static extern bool SetupDiDestroyDeviceInfoList(SafeFileHandle hDevInfo);
[DllImport("Kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)]
internal static extern bool CloseHandle(SafeFileHandle hDevice);
}