I found a similar issue on the net not sure whether you gone through this or not. If not check this
win32api-usb-setupdigetdeviceinterfacedetail-fail[
^]
this is something related to the PInvoke API call
excert from the above link
SP_DEVICE_INTERFACE_DETAIL_DATA didd = new SP_DEVICE_INTERFACE_DETAIL_DATA();
if (IntPtr.Size == 8)
didd.cbSize = 8;
else didd.cbSize = 4 + Marshal.SystemDefaultCharSize;
some info here too
MSDN[
^]