Lines Matching defs:vrc
222 int vrc = RTGetOptInit(&GetOptState, argc, argv, &s_aOptions[0], RT_ELEMENTS(s_aOptions), 1, 0 /*fFlags*/);
223 AssertRC(vrc);
226 while ((vrc = RTGetOpt(&GetOptState, &ValueUnion)))
228 switch (vrc)
304 RTGetOptPrintError(vrc, &ValueUnion);
316 vrc = com::GetVBoxUserHomeDirectory(szLogFile, sizeof(szLogFile));
317 if (RT_SUCCESS(vrc))
318 vrc = RTPathAppend(szLogFile, sizeof(szLogFile), "VBoxSVC.log");
323 vrc = VERR_NO_MEMORY;
325 if (RT_FAILURE(vrc))
326 return RTMsgErrorExit(RTEXITCODE_FAILURE, "failed to create logging file name, rc=%Rrc", vrc);
329 vrc = com::VBoxLogRelCreate("COM Server", szLogFile,
335 if (RT_FAILURE(vrc))
336 return RTMsgErrorExit(RTEXITCODE_FAILURE, "failed to open release log (%s, %Rrc)", szError, vrc);
363 vrc = VERR_INVALID_PARAMETER;
365 if (RT_SUCCESS(vrc))
369 vrc = server.open(pszPipeName);
370 if (RT_SUCCESS(vrc))
371 vrc = server.run();
373 if (RT_FAILURE(vrc))
375 Log(("SVCMAIN: Failed to process Helper request (%Rrc).", vrc));