Ejemplo n.º 1
0
 extern private static unsafe global::System.IntPtr ulCreateWindow__PInvoke__(global::System.IntPtr monitor, uint width, uint height, byte fullscreen, global::UltralightNet.AppCore.ULWindowFlags flags);
Ejemplo n.º 2
0
 public static partial global::System.IntPtr ulCreateWindow(global::System.IntPtr monitor, uint width, uint height, bool fullscreen, global::UltralightNet.AppCore.ULWindowFlags flags)
 {
     unsafe
     {
         byte __fullscreen_gen_native   = default;
         global::System.IntPtr __retVal = default;
         //
         // Marshal
         //
         __fullscreen_gen_native = (byte)(fullscreen ? 1 : 0);
         //
         // Invoke
         //
         __retVal = ulCreateWindow__PInvoke__(monitor, width, height, __fullscreen_gen_native, flags);
         return(__retVal);
     }
 }