mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 19:25:01 +00:00
16 lines
502 B
C
16 lines
502 B
C
// Copyright © 2013 The CefSharp Project. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
#pragma once
|
|
|
|
#include "include/cef_app.h"
|
|
#include "SubprocessCefApp.h"
|
|
|
|
int ExecuteCefRenderProcess(HINSTANCE hInstance)
|
|
{
|
|
CefMainArgs main_args(hInstance);
|
|
CefRefPtr<SubprocessCefApp> subprocessCefAppPtr = SubprocessCefApp::GetInstance();
|
|
return CefExecuteProcess(main_args, (CefRefPtr<CefApp>) subprocessCefAppPtr);
|
|
}
|