Chromium Embedded Framework (CEF)  139.0.1+gce106a3+chromium-139.0.7258.31
cef_sandbox_win.h File Reference

The sandbox is used to restrict sub-processes (renderer, GPU, etc) from directly accessing system resources. More...

#include "include/base/cef_build.h"
#include "include/cef_version_info.h"
#include <windows.h>

Classes

class  CefScopedSandboxInfo
 Manages the life span of a sandbox information object. More...
 

Macros

#define CEF_BOOTSTRAP_EXPORT   __declspec(dllexport)
 

Functions

void * cef_sandbox_info_create (void)
 Create the sandbox information object for this process. More...
 
void cef_sandbox_info_destroy (void *sandbox_info)
 Destroy the specified sandbox information object. More...
 
CEF_BOOTSTRAP_EXPORT int RunWinMain (HINSTANCE hInstance, LPTSTR lpCmdLine, int nCmdShow, void *sandbox_info, cef_version_info_t *version_info)
 Entry point to be implemented by client DLLs using bootstrap.exe for windows (/SUBSYSTEM:WINDOWS) applications. More...
 
CEF_BOOTSTRAP_EXPORT int RunConsoleMain (int argc, char *argv[], void *sandbox_info, cef_version_info_t *version_info)
 Entry point to be implemented by client DLLs using bootstrapc.exe for console (/SUBSYSTEM:CONSOLE) applications. More...
 

Detailed Description

The sandbox is used to restrict sub-processes (renderer, GPU, etc) from directly accessing system resources.

This helps to protect the user from untrusted and potentially malicious Web content. See https://bitbucket.org/chromiumembedded/cef/wiki/SandboxSetup.md for usage details.

Macro Definition Documentation

◆ CEF_BOOTSTRAP_EXPORT

#define CEF_BOOTSTRAP_EXPORT   __declspec(dllexport)

Function Documentation

◆ cef_sandbox_info_create()

void* cef_sandbox_info_create ( void  )

Create the sandbox information object for this process.

It is safe to create multiple of this object and to destroy the object immediately after passing into the CefExecuteProcess() and/or CefInitialize() functions.

◆ cef_sandbox_info_destroy()

void cef_sandbox_info_destroy ( void *  sandbox_info)

Destroy the specified sandbox information object.

◆ RunConsoleMain()

CEF_BOOTSTRAP_EXPORT int RunConsoleMain ( int  argc,
char *  argv[],
void *  sandbox_info,
cef_version_info_t version_info 
)

Entry point to be implemented by client DLLs using bootstrapc.exe for console (/SUBSYSTEM:CONSOLE) applications.

◆ RunWinMain()

CEF_BOOTSTRAP_EXPORT int RunWinMain ( HINSTANCE  hInstance,
LPTSTR  lpCmdLine,
int  nCmdShow,
void *  sandbox_info,
cef_version_info_t version_info 
)

Entry point to be implemented by client DLLs using bootstrap.exe for windows (/SUBSYSTEM:WINDOWS) applications.