if (1) { MSG_HEADER req; req.length = sizeof(req); req.msgid = MSGID_SBIE_INI_RUN_SBIE_CTRL; ErrorMessageBox(L"Call SbieCtrl.exe"); SbieDll_CallServer(&req); } return DoLingerLeader();
else if ((service = wcscmp(cmd, L"*RPCSS*") == 0 ? L"RpcSs" : NULL, service) /*|| (service = wcscmp(cmd, L"*DCOM*") == 0 ? L"DcomLaunch" : NULL, service)*/) { WCHAR program[64]; wcscpy(program, SANDBOXIE); wcscat(program, service); wcscat(program, L".exe"); WCHAR homedir[MAX_PATH]; SbieApi_GetHomePath(NULL, 0, homedir, MAX_PATH); cmd = (WCHAR *)HeapAlloc(GetProcessHeap(), 0, 512 * sizeof(WCHAR)); if (! cmd) { SetLastError(ERROR_ACCESS_DENIED); return FALSE; } _snwprintf(cmd, 512, L"\"%s\\%s\"", homedir, program); dir = NULL; CmdAltered = true; OutputDebugString(cmd); }
纯sandboxie-plus是否启动经典版沙盒?