Changeset 28634 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 23, 2010 9:38:12 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60486
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r28627 r28634 503 503 } 504 504 505 /* Notifier function for control execution stuff. */505 /* Function for handling the execution start/termination notification. */ 506 506 int Guest::notifyCtrlExec(uint32_t u32Function, 507 507 PHOSTEXECCALLBACKDATA pData) … … 523 523 pCBData->u32Status = pData->u32Status; 524 524 pCBData->u32Flags = pData->u32Flags; 525 /* @todo Copy void* buffer contents! */525 /** @todo Copy void* buffer contents! */ 526 526 527 527 /* Do progress handling. */ … … 577 577 } 578 578 579 /* Notifier function for control execution stuff. */579 /* Function for handling the execution output notification. */ 580 580 int Guest::notifyCtrlExecOut(uint32_t u32Function, 581 581 PHOSTEXECOUTCALLBACKDATA pData) … … 872 872 break; 873 873 874 /* In any other case the process either already 875 * terminated or something else went wrong, so no PID ... */ 876 case PROC_STS_TEN: /* Terminated normally. */ 877 case PROC_STS_TEA: /* Terminated abnormally. */ 878 case PROC_STS_TES: /* Terminated through signal. */ 879 case PROC_STS_TOK: 880 case PROC_STS_TOA: 881 case PROC_STS_DWN: 882 *aPID = 0; 883 break; 884 874 885 case PROC_STS_ERROR: 875 886 vrc = pData->u32Flags; /* u32Flags member contains IPRT error code. */ … … 877 888 878 889 default: 879 vrc = VERR_INVALID_PARAMETER; 890 vrc = VERR_INVALID_PARAMETER; /* Unknown status, should never happen! */ 880 891 break; 881 892 } … … 911 922 rc = setError(VBOX_E_IPRT_ERROR, 912 923 tr("The guest did not respond within time (%ums)"), aTimeoutMS); 924 } 925 else if (vrc == VERR_INVALID_PARAMETER) 926 { 927 rc = setError(VBOX_E_IPRT_ERROR, 928 tr("The guest reported an unknown process status (%u)"), pData->u32Status); 913 929 } 914 930 else … … 939 955 { 940 956 rc = setError(E_UNEXPECTED, 941 tr("The servicecall failed with error %Rrc"), vrc);957 tr("The HGCM call failed with error %Rrc"), vrc); 942 958 } 943 959 }
Note:
See TracChangeset
for help on using the changeset viewer.