internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_HICON obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public Result RegisterWinClass(SWIGTYPE_p_String classname, SWIGTYPE_p_HBRUSH bgbrush, bool ismdichildclass, SWIGTYPE_p_HICON icon) { Result ret = new Result(IronSightEnginePINVOKE.Engine_RegisterWinClass__SWIG_1(swigCPtr, SWIGTYPE_p_String.getCPtr(classname), SWIGTYPE_p_HBRUSH.getCPtr(bgbrush), ismdichildclass, SWIGTYPE_p_HICON.getCPtr(icon)), true); // if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } if (IronSightEnginePINVOKE.SWIGPendingException.Pending) { throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }