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(); } }
public static extern int initialize(cef_main_args_t *args, cef_settings_t *settings, cef_app_t *application, void *windows_sandbox_info);
public static extern int execute_process(cef_main_args_t *args, cef_app_t *application, void *windows_sandbox_info);
public static extern int initialize(cef_main_args_t *args, cef_settings_t *settings, cef_app_t *application);
public static extern int execute_process(cef_main_args_t *args, cef_app_t *application);
static unsafe void RecyclePtr(IntPtr intptr) { cef_main_args_t *ptr = (cef_main_args_t *)intptr; }
public CefMainArgs() : base(RecyclePtr) { cef_main_args_t *ptr = (cef_main_args_t *)Ptr; ptr->instance = WindowsInterop.GetModuleHandle(null); }