public void AddNode(WWUsbHostControllerCs hc)
        {
            string s = string.Format("{0}\n{1}\n{2}\nNumOfRootPorts={3}, DeviceCount={4}, HardResetCount={5}",
                                     hc.name, hc.vendor, hc.desc, hc.numberOfRootPorts, hc.deviceCount, hc.hardResetCount);
            var node = new UsbDevice(UsbDevice.NodeType.HostController,
                                     hc.idx, -1, BusSpeed.RootHub, BusSpeed.RootHub, s);

            AddNode(node);
        }
Example #2
0
 WWUsbDeviceTreeDLL_GetHostControllerInf(int nth, out WWUsbHostControllerCs hub_r);