First pass at winutil.c to associate usb vendor ids with drives

This commit is contained in:
Charles Haley 2010-05-18 06:23:38 +01:00
parent 83c75cd864
commit 98163086fc

View File

@ -560,6 +560,7 @@ get_device_ancestors(HDEVINFO hDevInfo, DWORD index, PyObject *candidates, BOOL
return NULL;
}
interfaceDetailData->cbSize = sizeof (SP_INTERFACE_DEVICE_DETAIL_DATA);
devInfoData.cbSize = sizeof(SP_DEVINFO_DATA);
status = SetupDiGetDeviceInterfaceDetail (
hDevInfo, // Interface Device info handle