mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
First pass at winutil.c to associate usb vendor ids with drives
This commit is contained in:
parent
83c75cd864
commit
98163086fc
@ -560,6 +560,7 @@ get_device_ancestors(HDEVINFO hDevInfo, DWORD index, PyObject *candidates, BOOL
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
interfaceDetailData->cbSize = sizeof (SP_INTERFACE_DEVICE_DETAIL_DATA);
|
interfaceDetailData->cbSize = sizeof (SP_INTERFACE_DEVICE_DETAIL_DATA);
|
||||||
|
devInfoData.cbSize = sizeof(SP_DEVINFO_DATA);
|
||||||
|
|
||||||
status = SetupDiGetDeviceInterfaceDetail (
|
status = SetupDiGetDeviceInterfaceDetail (
|
||||||
hDevInfo, // Interface Device info handle
|
hDevInfo, // Interface Device info handle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user