Example #1
0
        internal static void Free(cef_main_args_t *ptr)
        {
            switch (CefRuntime.Platform)
            {
            case CefRuntimePlatform.Windows:
                cef_main_args_t_windows.Free((cef_main_args_t_windows *)ptr);
                return;

            case CefRuntimePlatform.Linux:
            case CefRuntimePlatform.MacOSX:
                cef_main_args_t_posix.Free((cef_main_args_t_posix *)ptr);
                return;

            default:
                throw ExceptionBuilder.UnsupportedPlatform();
            }
        }
Example #2
0
 public static extern int initialize(cef_main_args_t *args, cef_settings_t *settings, cef_app_t *application, void *windows_sandbox_info);
Example #3
0
 public static extern int execute_process(cef_main_args_t *args, cef_app_t *application, void *windows_sandbox_info);
Example #4
0
 public static extern int initialize(cef_main_args_t *args, cef_settings_t *settings, cef_app_t *application);
Example #5
0
 public static extern int execute_process(cef_main_args_t *args, cef_app_t *application);
Example #6
0
 static unsafe void RecyclePtr(IntPtr intptr)
 {
     cef_main_args_t *ptr = (cef_main_args_t *)intptr;
 }
Example #7
0
        public CefMainArgs() : base(RecyclePtr)
        {
            cef_main_args_t *ptr = (cef_main_args_t *)Ptr;

            ptr->instance = WindowsInterop.GetModuleHandle(null);
        }