public XsUsbHubInfo(XsUsbHubInfo other) : this(xsensdeviceapiPINVOKE.new_XsUsbHubInfo__SWIG_2(XsUsbHubInfo.getCPtr(other)), true) { if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } }
public static XsUsbHubInfo scanUsbHub(XsPortInfo port) { XsUsbHubInfo ret = new XsUsbHubInfo(xsensdeviceapiPINVOKE.XsScanner_scanUsbHub(XsPortInfo.getCPtr(port)), true); if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool parentPathMatches(XsUsbHubInfo other) { bool ret = xsensdeviceapiPINVOKE.XsUsbHubInfo_parentPathMatches(swigCPtr, XsUsbHubInfo.getCPtr(other)); if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(XsUsbHubInfo obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }