示例#1
0
    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);
    }
示例#2
0
    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);
    }
示例#3
0
 internal static HandleRef getCPtr(SWIGTYPE_p_HRESULT obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }