Lines Matching refs:rc2

231         int rc2 = VBoxServicePropCacheUpdateEntry(&g_VMInfoPropCache, g_pszPropCacheValLoggedInUsersList,
233 if (RT_FAILURE(rc2))
234 VBoxServiceError("Failed to init property cache value \"%s\", rc=%Rrc\n", g_pszPropCacheValLoggedInUsersList, rc2);
236 rc2 = VBoxServicePropCacheUpdateEntry(&g_VMInfoPropCache, g_pszPropCacheValLoggedInUsers,
238 if (RT_FAILURE(rc2))
239 VBoxServiceError("Failed to init property cache value \"%s\", rc=%Rrc\n", g_pszPropCacheValLoggedInUsers, rc2);
241 rc2 = VBoxServicePropCacheUpdateEntry(&g_VMInfoPropCache, g_pszPropCacheValNoLoggedInUsers,
243 if (RT_FAILURE(rc2))
244 VBoxServiceError("Failed to init property cache value \"%s\", rc=%Rrc\n", g_pszPropCacheValNoLoggedInUsers, rc2);
246 rc2 = VBoxServicePropCacheUpdateEntry(&g_VMInfoPropCache, g_pszPropCacheValNetCount,
248 if (RT_FAILURE(rc2))
249 VBoxServiceError("Failed to init property cache value \"%s\", rc=%Rrc\n", g_pszPropCacheValNetCount, rc2);
256 rc2 = VBoxServiceReadHostProp(g_uVMInfoGuestPropSvcClientID, "/VirtualBox/GuestAdd/VBoxService/--vminfo-user-idle-threshold", true /* Read only */,
258 if (RT_SUCCESS(rc2))
599 int rc2 = RTDBusLoadLib();
601 if (RT_SUCCESS(rc2))
1323 int rc2 = RTStrValidateEncodingEx(pCur->ifr_name, sizeof(pCur->ifr_name), 0);
1324 if (RT_SUCCESS(rc2))
1434 int rc2 = VBoxServiceReadHostProp(g_uVMInfoGuestPropSvcClientID, g_pszLAActiveClient, true /* Read only */,
1436 if (RT_SUCCESS(rc2))
1446 rc2 = vboxServiceGetLAClientValue(uLAClientID, "Attach", &pszAttach,
1449 if ( RT_SUCCESS(rc2)
1457 rc2 = vboxServiceGetLAClientInfo(uLAClientID, &g_LAClientInfo);
1458 if (RT_SUCCESS(rc2))
1478 VBoxServiceError("Error getting active location awareness client info, rc=%Rrc\n", rc2);
1482 else if (RT_FAILURE(rc2))
1484 uLAClientID, rc2);
1499 if ( (rc2 != VERR_NOT_FOUND) /* No location awareness installed, skip. */
1503 VBoxServiceError("VRDP: Querying connected location awareness client failed with rc=%Rrc\n", rc2);
1531 rc2 = RTSemEventMultiWait(g_hVMInfoEvent, g_cMsVMInfoInterval);
1534 if (rc2 != VERR_TIMEOUT && RT_FAILURE(rc2))
1536 VBoxServiceError("RTSemEventMultiWait failed; rc2=%Rrc\n", rc2);
1537 rc = rc2;
1540 else if (RT_LIKELY(RT_SUCCESS(rc2)))
1543 rc2 = RTSemEventMultiReset(g_hVMInfoEvent);
1544 if (RT_FAILURE(rc2))
1545 rc2 = VBoxServiceError("RTSemEventMultiReset failed; rc2=%Rrc\n", rc2);