Example #1
0
    public Result UnregisterCustomWndProc(SWIGTYPE_p_CUSTOMWNDPROC customwndproc)
    {
        Result ret = new Result(IronSightEnginePINVOKE.Engine_UnregisterCustomWndProc(swigCPtr, SWIGTYPE_p_CUSTOMWNDPROC.getCPtr(customwndproc)), true);

        //
        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_CUSTOMWNDPROC obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }