예제 #1
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_int obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
예제 #2
0
 public void GetDesktopResolution(SWIGTYPE_p_int horizontal, SWIGTYPE_p_int vertical)
 {
     SharpMochaPINVOKE.Engine_GetDesktopResolution(swigCPtr, SWIGTYPE_p_int.getCPtr(horizontal), SWIGTYPE_p_int.getCPtr(vertical));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #3
0
 public void GetDesktopResolution(SWIGTYPE_p_int horizontal, SWIGTYPE_p_int vertical)
 {
     SharpMochaPINVOKE.Engine_GetDesktopResolution(swigCPtr, SWIGTYPE_p_int.getCPtr(horizontal), SWIGTYPE_p_int.getCPtr(vertical));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }