public SWIGTYPE_p_HRESULT ShowError(string function, string message) { SWIGTYPE_p_HRESULT ret = new SWIGTYPE_p_HRESULT(VisionLabPINVOKE.MFCam_ShowError__SWIG_2(swigCPtr, function, message), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SWIGTYPE_p_HRESULT ShowError(string function, string message, SWIGTYPE_p_HRESULT hr, bool isFatal) { SWIGTYPE_p_HRESULT ret = new SWIGTYPE_p_HRESULT(VisionLabPINVOKE.MFCam_ShowError__SWIG_0(swigCPtr, function, message, SWIGTYPE_p_HRESULT.getCPtr(hr), isFatal), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(SWIGTYPE_p_HRESULT obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }