Changeset 42358 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jul 24, 2012 12:35:19 PM (12 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h
r42354 r42358 173 173 GuestProcessWaitResult GetResult(void) { return mWaitResult; } 174 174 175 int Signal(ProcessWaitResult enmResult, int rc = VINF_SUCCESS);175 int Signal(ProcessWaitResult_T enmResult, int rc = VINF_SUCCESS); 176 176 177 177 protected: -
trunk/src/VBox/Main/include/GuestProcessImpl.h
r42354 r42358 94 94 int prepareExecuteEnv(const char *pszEnv, void **ppvList, ULONG *pcbList, ULONG *pcEnvVars); 95 95 int sendCommand(uint32_t uFunction, uint32_t uParms, PVBOXHGCMSVCPARM paParms); 96 int signalWaiters(ProcessWaitResult enmWaitResult, int rc = VINF_SUCCESS);96 int signalWaiters(ProcessWaitResult_T enmWaitResult, int rc = VINF_SUCCESS); 97 97 static DECLCALLBACK(int) startProcessThread(RTTHREAD Thread, void *pvUser); 98 98 /** @} */ -
trunk/src/VBox/Main/src-client/GuestCtrlPrivate.cpp
r42356 r42358 63 63 } 64 64 65 LogFlow ThisFuncLeaveRC(rc);65 LogFlowFuncLeaveRC(rc); 66 66 return rc; 67 67 } … … 120 120 121 121 GuestCtrlCallback::GuestCtrlCallback(void) 122 : mType(VBOXGUESTCTRLCALLBACKTYPE_UNKNOWN),123 uFlags(0),124 pvData(NULL),125 cbData(0)122 : pvData(NULL), 123 cbData(0), 124 mType(VBOXGUESTCTRLCALLBACKTYPE_UNKNOWN), 125 uFlags(0) 126 126 { 127 127 } 128 128 129 129 GuestCtrlCallback::GuestCtrlCallback(eVBoxGuestCtrlCallbackType enmType) 130 : mType(VBOXGUESTCTRLCALLBACKTYPE_UNKNOWN),131 uFlags(0),132 pvData(NULL),133 cbData(0)130 : pvData(NULL), 131 cbData(0), 132 mType(VBOXGUESTCTRLCALLBACKTYPE_UNKNOWN), 133 uFlags(0) 134 134 { 135 135 int rc = Init(enmType); … … 234 234 } 235 235 236 int GuestProcessEvent::Signal(ProcessWaitResult enmResult, int rc /*= VINF_SUCCESS*/)236 int GuestProcessEvent::Signal(ProcessWaitResult_T enmResult, int rc /*= VINF_SUCCESS*/) 237 237 { 238 238 mWaitResult.mRC = rc; -
trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp
r42354 r42358 544 544 545 545 BOOL fSignal = FALSE; 546 ProcessWaitResult enmWaitResult;546 ProcessWaitResult_T enmWaitResult; 547 547 uint32_t uWaitFlags = mData.mWaitEvent 548 548 ? mData.mWaitEvent->GetWaitFlags() : 0; … … 762 762 } 763 763 764 int GuestProcess::signalWaiters(ProcessWaitResult enmWaitResult, int rc /*= VINF_SUCCESS*/)764 int GuestProcess::signalWaiters(ProcessWaitResult_T enmWaitResult, int rc /*= VINF_SUCCESS*/) 765 765 { 766 766 LogFlowFunc(("enmWaitResult=%d, rc=%Rrc, mWaitCount=%RU32, mWaitEvent=%p\n",
Note:
See TracChangeset
for help on using the changeset viewer.