public WWUsbHubPortCs(WWUsbHubPortNative n) { idx = n.idx; parentIdx = n.parentIdx; deviceIsHub = n.deviceIsHub; bmAttributes = n.bmAttributes; powerMilliW = n.powerMilliW; speed = n.speed; usbVersion = n.usbVersion; portConnectorType = n.portConnectorType; name = n.name.Trim(); product = n.product.Trim(); vendor = n.vendor.Trim(); confDesc = new byte[n.confDescBytes]; Marshal.Copy(n.confDesc, confDesc, 0, n.confDescBytes); numStringDesc = n.numStringDesc; }
WWUsbDeviceTreeDLL_GetHubPortInf(int nth, out WWUsbHubPortNative hp_r);