#[unsafe(no_mangle)]pub unsafe extern "system" fn RunWinMain(
_h_instance: HINSTANCE,
_lp_cmd_line: *mut u16,
_n_cmd_show: i32,
sandbox_info: *mut c_void,
_version_info: *mut c_void,
) -> i32Expand description
Windows DLL wrapper sandbox entry point (Phase 3, issue #1374).
bootstrap.exe (renamed agentmux-cef.exe) calls this after:
cef_sandbox_info_create()→sandbox_infoLoadLibraryW("agentmux-cef.dll")→ this DLLGetProcAddress(hDll, "RunWinMain")→ this function
We forward sandbox_info into run() so CEF’s CefExecuteProcess and
CefInitialize receive the pre-initialized sandbox context.